| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | final class NotFoundHandler implements RequestHandlerInterface |
||
| 17 | { |
||
| 18 | private ResponseFactoryInterface $responseFactory; |
||
| 19 | |||
| 20 | 14 | public function __construct(ResponseFactoryInterface $responseFactory) |
|
| 21 | { |
||
| 22 | 14 | $this->responseFactory = $responseFactory; |
|
| 23 | 14 | } |
|
| 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 |
|
| 36 | } |
||
| 37 | } |
||
| 38 |