| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class NotFoundHandler implements RequestHandlerInterface |
||
| 18 | { |
||
| 19 | /** @var ResponseFactoryInterface The factory used to generate the response */ |
||
| 20 | private $responseFactory; |
||
| 21 | |||
| 22 | /** @var StreamFactoryInterface The factory used to generate the body for the response */ |
||
| 23 | private $streamFactory; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * NotFoundHandler constructor. |
||
| 27 | * @param ResponseFactoryInterface $responseFactory The factory used to generate the response |
||
| 28 | * @param StreamFactoryInterface $streamFactory The factory used to generate the body for the response |
||
| 29 | */ |
||
| 30 | 12 | public function __construct(ResponseFactoryInterface $responseFactory, StreamFactoryInterface $streamFactory) |
|
| 34 | 12 | } |
|
| 35 | |||
| 36 | /** {@inheritdoc} */ |
||
| 37 | 1 | public function handle(ServerRequestInterface $request): ResponseInterface |
|
| 44 |