| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | public function configure(ContainerInterface $container) |
||
| 22 | { |
||
| 23 | $docBlock = new DocBlock(); |
||
| 24 | |||
| 25 | /* @var EnvironmentInterface $env */ |
||
| 26 | $env = $container->get(EnvironmentInterface::class); |
||
| 27 | /* @var EventDispatcher $eventDispatcher */ |
||
| 28 | $eventDispatcher = $container->get(EventDispatcher::class); |
||
| 29 | $eventDispatcher->addSubscriber(new FindExecutableDefinitionsSubscriber($docBlock, $env)); |
||
| 30 | } |
||
| 31 | } |