Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
39 | 1 | public function initSfKernelLogger(KernelEvent $event) |
|
40 | { |
||
41 | /** @var EventDispatcherInterface $eventDispatcher the event dispatcher of SF application (not behat one)*/ |
||
42 | 1 | $eventDispatcher = $event->getKernel()->getContainer()->get('event_dispatcher'); |
|
43 | |||
44 | 1 | $eventDispatcher->addSubscriber($this->sfKernelEventLogger); |
|
45 | 1 | } |
|
46 | } |
||
47 |