Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
46 | public function handle( |
||
47 | Throwable $throwable, |
||
48 | string $eventListenerIdentifier, |
||
49 | EventInterface $event |
||
50 | ): EventErrorHandlerInterface { |
||
51 | $this->cache->set( |
||
52 | $event->getId(), |
||
53 | $this->serializer->serialize($event, 'json'), |
||
54 | EventCacheConstants::LIFE_TIME |
||
55 | ); |
||
56 | |||
57 | return $this; |
||
58 | } |
||
60 |