ClassFinder

Implements \ClassFinderInterface

Class Finder

category

System

package

Shared

subpackage

ClassFinder

Methods

Constructor

__construct(\ClassFinderSettingsInterface $settings, \DataCache $dataCache) 

Arguments

$dataCache

\DataCache

Destructor

__destruct() 

Update the cache file with the latest results.

Returns an associative array with classes that implement the given interface.

findByInterface(string $interfaceName) : array

Array format: [ClassName] => [ClassFullFilePath]

Throws
\RuntimeException

Arguments

$interfaceName

string

Response

array

Returns an associative array with classes that have the given class in their parent list.

findByParent(string $parentClassName) : array

Array format: [ClassName] => [ClassFullFilePath]

Arguments

$parentClassName

string

Response

array

Properties