src/RoutingFailedResponder.php
protected function notFound(Request $request, Response $response, Route $route)
    {
        $request; $route;
        $response = $response->withStatus(404);
        $response->getBody()->write('404 Not Found');
        return $response;
    }
protected function notFound(Request $request, Response $response, Route $route)
    {
        $request; $route;
        $response = $response->withStatus(404);
        $response->getBody()->write('404 Not Found');
        return $response;
    }
protected function notFound ( Request $ request , Response $ response , Route $ route ) { $ request ; $ route ; $ response = $ response -> withStatus ( 404 ) ; $ response -> getBody ( ) -> write ( '404 Not Found' ) ; return $ response ; }
Resource not found

Builds the Response when the failed route host or path was not found.

@param Request  $request  PSR7 Request
@param Response $response PSR7 Response
@param Route    $route    Failed Route

@return Response

@access protected
Resource not found