Total Complexity | 2 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | final class NotFoundHandler implements RequestHandlerInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var ResponseFactoryInterface |
||
17 | */ |
||
18 | private ResponseFactoryInterface $responseFactory; |
||
19 | |||
20 | /** |
||
21 | * NotFoundHandler constructor. |
||
22 | * |
||
23 | * @param ResponseFactoryInterface $responseFactory |
||
24 | */ |
||
25 | 10 | public function __construct(ResponseFactoryInterface $responseFactory) |
|
28 | 10 | } |
|
29 | |||
30 | /** |
||
31 | * Handles a request and produces a response. |
||
32 | * |
||
33 | * May call other collaborating code to generate the response. |
||
34 | */ |
||
35 | 2 | public function handle(ServerRequestInterface $request): ResponseInterface |
|
43 |