Total Complexity | 6 |
Total Lines | 44 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class FindExecutableDefinitionsSubscriber implements EventSubscriberInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var DocBlock |
||
14 | */ |
||
15 | private $docBlock; |
||
16 | |||
17 | /** |
||
18 | * @var EnvironmentInterface |
||
19 | */ |
||
20 | private $env; |
||
21 | |||
22 | /** |
||
23 | * @return array |
||
24 | */ |
||
25 | public static function getSubscribedEvents(): array |
||
29 | ]; |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * @param DocBlock $docBlock |
||
34 | * @param EnvironmentInterface $env |
||
35 | */ |
||
36 | public function __construct(DocBlock $docBlock, EnvironmentInterface $env) |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * @param FindExecutableDefinitionFilesEvent $event |
||
44 | * @throws \ReflectionException |
||
45 | */ |
||
46 | public function onFindExecutableDefinitions(FindExecutableDefinitionFilesEvent $event) |
||
57 | } |