| 1 | <?php |
||
| 9 | class Locator implements ClassesInterface |
||
| 10 | { |
||
| 11 | /** @var ClassLocator */ |
||
| 12 | private $locator; |
||
| 13 | |||
| 14 | public function __construct(ClassLocator $locator) |
||
| 18 | |||
| 19 | /** |
||
| 20 | * {@inheritdoc} |
||
| 21 | * @param string|null $interfaceToBeImplemented Additional check for targets to check interface implementation. |
||
| 22 | * |
||
| 23 | * @return \ReflectionClass[] |
||
| 24 | */ |
||
| 25 | public function getClasses($target = null, string $interfaceToBeImplemented = null): array |
||
| 39 | } |