| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 36 | public function processResponseForException(CustomAppExceptionInterface $exception): array |
||
| 37 | { |
||
| 38 | $responseProcessor = $this->findAppropriateErrorResponseProcessorForException($exception); |
||
| 39 | |||
| 40 | if ($responseProcessor instanceof CustomAppExceptionResponseProcessorInterface) { |
||
| 41 | return $responseProcessor->processResponse($exception); |
||
| 42 | } |
||
| 43 | |||
| 44 | return []; |
||
| 45 | } |
||
| 46 | |||
| 64 |