| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function subscribe(Container $container, EventDispatcherInterface $dispatcher) |
||
| 32 | { |
||
| 33 | if ($container instanceof Application) { |
||
| 34 | $dispatcher->addListener( |
||
| 35 | KernelEvents::EXCEPTION, |
||
| 36 | new ExceptionListenerWrapper($container, $container['whoops.exception_handler']), |
||
| 37 | -1 |
||
| 38 | ); |
||
| 39 | } |
||
| 40 | } |
||
| 41 | } |
||
| 42 |