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