Total Complexity | 3 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class ExceptionEncounteredRequestHandler extends AbstractRequestHandler |
||
15 | { |
||
16 | /** |
||
17 | * @var ResponseHelper |
||
18 | */ |
||
19 | private $responseHelper; |
||
20 | |||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | private $output; |
||
25 | |||
26 | /** |
||
27 | * @param ResponseHelper $responseHelper |
||
28 | * @param string $output |
||
29 | * @param array $supportedApplicationIds |
||
30 | */ |
||
31 | 2 | public function __construct(ResponseHelper $responseHelper, string $output, array $supportedApplicationIds) |
|
36 | } |
||
37 | |||
38 | /** |
||
39 | * @inheritdoc |
||
40 | */ |
||
41 | 2 | public function supportsRequest(Request $request): bool |
|
42 | { |
||
43 | 2 | return $request->request instanceof ExceptionEncounteredRequest; |
|
44 | } |
||
45 | |||
46 | /** |
||
47 | * @inheritdoc |
||
48 | */ |
||
49 | 1 | public function handleRequest(Request $request): Response |
|
52 | } |
||
53 | } |
||
54 |