| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 37 | 1 | public function processException(Request $request, Throwable $exception) |
|
| 38 | { |
||
| 39 | 1 | $event = new MultiEvent(MultiEvent::INCREASE, [ |
|
| 40 | 1 | sprintf('exception:%s', get_class($exception)) => 1, |
|
| 41 | 1 | sprintf('response:code:%d', 500) => 1, |
|
| 42 | ]); |
||
| 43 | 1 | $this->dispatchEvent($event); |
|
| 44 | 1 | } |
|
| 45 | } |
||
| 46 |