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