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 |
||
37 | 1 | public function initSfKernelLogger(KernelEvent $event) |
|
38 | { |
||
39 | /** @var EventDispatcherInterface $eventDispatcher the event dispatcher of SF application (not behat one)*/ |
||
40 | 1 | $eventDispatcher = $event->getKernel()->getContainer()->get('event_dispatcher'); |
|
41 | |||
42 | 1 | $eventDispatcher->addSubscriber($this->sfKernelEventLogger); |
|
43 | 1 | } |
|
44 | } |
||
45 |