| Total Complexity | 2 |
| Total Lines | 53 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | final class NotFoundHandler implements RequestHandlerInterface |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var ResponseFactoryInterface |
||
| 18 | */ |
||
| 19 | private ResponseFactoryInterface $responseFactory; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var TemplateRendererInterface |
||
| 23 | */ |
||
| 24 | private TemplateRendererInterface $template; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | private string $view; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var bool |
||
| 33 | */ |
||
| 34 | private bool $debug; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param ResponseFactoryInterface $responseFactory |
||
| 38 | * @param TemplateRendererInterface $template |
||
| 39 | * @param string $view |
||
| 40 | * @param bool $debug |
||
| 41 | */ |
||
| 42 | 18 | public function __construct( |
|
| 52 | } |
||
| 53 | |||
| 54 | /** |
||
| 55 | * {@inheritDoc} |
||
| 56 | */ |
||
| 57 | 6 | public function handle(ServerRequestInterface $request): ResponseInterface |
|
| 69 |