Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | final class DispatchThrowableHandler implements ThrowableHandlerInterface |
||
24 | { |
||
25 | /** |
||
26 | * @var EventDispatcherInterface |
||
27 | */ |
||
28 | private $eventDispatcher; |
||
29 | |||
30 | /** |
||
31 | * DispatchThrowableHandler constructor. |
||
32 | * |
||
33 | * @param EventDispatcherInterface $eventDispatcher |
||
34 | */ |
||
35 | 34 | public function __construct(EventDispatcherInterface $eventDispatcher) |
|
38 | 34 | } |
|
39 | |||
40 | /** |
||
41 | * @param \Throwable $throwable |
||
42 | */ |
||
43 | 1 | public function handleThrowable(\Throwable $throwable): void |
|
48 |