1 | <?php |
||
18 | class SfKernelEventLogger implements EventSubscriberInterface |
||
19 | { |
||
20 | /** @var LoggerInterface */ |
||
21 | private $logger; |
||
22 | |||
23 | /** |
||
24 | * @param LoggerInterface $logger |
||
25 | * @throws \Exception |
||
26 | */ |
||
27 | 4 | public function __construct(LoggerInterface $logger) |
|
31 | |||
32 | /** |
||
33 | * @return array |
||
34 | */ |
||
35 | 1 | public static function getSubscribedEvents() |
|
42 | |||
43 | /** |
||
44 | * @param GetResponseEvent $event |
||
45 | */ |
||
46 | 2 | public function onKernelRequest(GetResponseEvent $event) |
|
60 | |||
61 | /** |
||
62 | * @param GetResponseForExceptionEvent $event |
||
63 | */ |
||
64 | 1 | public function onKernelException(GetResponseForExceptionEvent $event) |
|
73 | } |
||
74 |