1 | <?php |
||
11 | class ErrorLogSubscriber implements EventSubscriberInterface |
||
12 | { |
||
13 | /** |
||
14 | * @param RejectEnvelopeEvent $event |
||
15 | */ |
||
16 | 2 | public function onReject(RejectEnvelopeEvent $event) |
|
20 | |||
21 | /** |
||
22 | * @param Envelope $envelope |
||
23 | * @param mixed $exception |
||
24 | * |
||
25 | * @return string |
||
26 | */ |
||
27 | 2 | protected function format(Envelope $envelope, $exception) |
|
46 | |||
47 | /** |
||
48 | * @return array |
||
49 | */ |
||
50 | 1 | public static function getSubscribedEvents() |
|
56 | } |
||
57 |