Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
20 | class ExceptionController |
||
21 | { |
||
22 | /** |
||
23 | * @var ExceptionHandler |
||
24 | */ |
||
25 | private $exceptionHandler; |
||
26 | |||
27 | /** |
||
28 | * @param ExceptionHandler $exceptionHandler |
||
29 | */ |
||
30 | 1 | public function __construct(ExceptionHandler $exceptionHandler) |
|
33 | 1 | } |
|
34 | |||
35 | /** |
||
36 | * @param FlattenException $exception |
||
37 | * |
||
38 | * @return Response |
||
39 | */ |
||
40 | 1 | public function __invoke(FlattenException $exception): Response |
|
45 |