Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
16 | final class NotFoundHandler implements RequestHandlerInterface |
||
17 | { |
||
18 | private ResponseFactoryInterface $responseFactory; |
||
19 | |||
20 | 10 | public function __construct(ResponseFactoryInterface $responseFactory) |
|
23 | 10 | } |
|
24 | |||
25 | /** |
||
26 | * Handles a request and produces a response. |
||
27 | * |
||
28 | * May call other collaborating code to generate the response. |
||
29 | */ |
||
30 | 2 | public function handle(ServerRequestInterface $request): ResponseInterface |
|
38 |