public function notFound(): Response
    {
        $this->response->setStatus(404);
        $this->response->setBody('<html><title>404 Not found</title>404 Not found</html>');
        return $this->response;
    }
public function notFound(): Response
    {
        $this->response->setStatus(404);
        $this->response->setBody('<html><title>404 Not found</title>404 Not found</html>');
        return $this->response;
    }
public function notFound ( ) : Response { $ this -> response -> setStatus ( 404 ) ; $ this -> response -> setBody ( '<html><title>404 Not found</title>404 Not found</html>' ) ; return $ this -> response ; }
Respond with an not found message.

@return Response
Respond with an not found message .