| 1 | <?php |
||
| 13 | class NotFoundHandler implements RequestHandlerInterface |
||
| 14 | {
|
||
| 15 | public const TEMPLATE = 'not-found'; |
||
| 16 | |||
| 17 | protected $factory; |
||
| 18 | protected $renderer; |
||
| 19 | protected $template; |
||
| 20 | |||
| 21 | 1 | public function __construct(ResponseFactoryInterface $factory, RendererInterface $renderer, string $template = self::TEMPLATE) |
|
| 27 | |||
| 28 | 1 | public function handle(ServerRequestInterface $req): ResponseInterface |
|
| 36 | } |