Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | final class NotFoundHandler implements RequestHandlerInterface |
||
12 | { |
||
13 | private ResponseFactoryInterface $responseFactory; |
||
14 | |||
15 | /** |
||
16 | * NotFoundHandler constructor. |
||
17 | * @param ResponseFactoryInterface $responseFactory |
||
18 | */ |
||
19 | public function __construct(ResponseFactoryInterface $responseFactory) |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * Handles a request and produces a response. |
||
26 | * |
||
27 | * May call other collaborating code to generate the response. |
||
28 | */ |
||
29 | public function handle(ServerRequestInterface $request): ResponseInterface |
||
37 |