Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 2 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
23 | public function getExtensions(): array |
||
24 | { |
||
25 | return [ |
||
26 | LoggerInterface::class => static function (ContainerInterface $container, LoggerInterface $logger) { |
||
27 | 1 | return new LoggerInterfaceProxy($logger, $container->get(LogCollector::class)); |
|
28 | }, |
||
29 | EventDispatcherInterface::class => static function (ContainerInterface $container, EventDispatcherInterface $dispatcher) { |
||
30 | 1 | return new EventDispatcherInterfaceProxy($dispatcher, $container->get(EventCollector::class)); |
|
31 | 1 | }, |
|
35 |