ClassFinderInterface
in
Class Finder Interface
Tags
Table of Contents
- findByInterface() : array<string|int, mixed>
- Returns an associative array with classes that implement the given interface.
- findByParent() : array<string|int, mixed>
- Returns an associative array with classes that have the given class in their parent list.
Methods
findByInterface()
Returns an associative array with classes that implement the given interface.
public
findByInterface(string $interfaceName) : array<string|int, mixed>
Array format: [ClassName] => [ClassFullFilePath]
Parameters
- $interfaceName : string
Return values
array<string|int, mixed> —findByParent()
Returns an associative array with classes that have the given class in their parent list.
public
findByParent(string $parentClassName) : array<string|int, mixed>
Array format: [ClassName] => [ClassFullFilePath]
Parameters
- $parentClassName : string