static private function _getDefaultPageNotFound() {
        return [
            'path' => '404',
            'callback' => function(\Lollipop\HTTP\Request $req, \Lollipop\HTTP\Response $res, $args = []) {
                // Create a default 404 page
                $pagenotfound = '<!DOCTYPE html>'
                        . '<!-- Lollipop for PHP by John Aldrich Bernardo -->'
                        . '<html>'
                        . '<head><title>404 Not Found</title></head>'
                        . '<meta name="viewport" content="width=device-width, initial-scale=1">'
                        . '<body>'
                        . '<h1>404 Not Found</h1>'
                        . '<p>The page that you have requested could not be found.</p>'
                        . '</body>'
                        . '</html>';
        
                // Create a new 404 Page Not Found Response
                $response = new Response($pagenotfound);
                // Set header for 404
                $response->header('HTTP/1.0 404 Not Found');
        
                // Execute
                return $response;
            },
            'arguments' => []
        ];
    }
static private function _getDefaultPageNotFound() {
        return [
            'path' => '404',
            'callback' => function(\Lollipop\HTTP\Request $req, \Lollipop\HTTP\Response $res, $args = []) {
                // Create a default 404 page
                $pagenotfound = '<!DOCTYPE html>'
                        . '<!-- Lollipop for PHP by John Aldrich Bernardo -->'
                        . '<html>'
                        . '<head><title>404 Not Found</title></head>'
                        . '<meta name="viewport" content="width=device-width, initial-scale=1">'
                        . '<body>'
                        . '<h1>404 Not Found</h1>'
                        . '<p>The page that you have requested could not be found.</p>'
                        . '</body>'
                        . '</html>';
        
                // Create a new 404 Page Not Found Response
                $response = new Response($pagenotfound);
                // Set header for 404
                $response->header('HTTP/1.0 404 Not Found');
        
                // Execute
                return $response;
            },
            'arguments' => []
        ];
    }
static private function _getDefaultPageNotFound ( ) { return [ 'path' => '404' , 'callback' => function ( \ Lollipop \ HTTP \ Request $ req , \ Lollipop \ HTTP \ Response $ res , $ args = [ ] ) { // Create a default 404 page $ pagenotfound = '<!DOCTYPE html>' . '<!-- Lollipop for PHP by John Aldrich Bernardo -->' . '<html>' . '<head><title>404 Not Found</title></head>' . '<meta name="viewport" content="width=device-width, initial-scale=1">' . '<body>' . '<h1>404 Not Found</h1>' . '<p>The page that you have requested could not be found.</p>' . '</body>' . '</html>' ; // Create a new 404 Page Not Found Response $ response = new Response ( $ pagenotfound ) ; // Set header for 404 $ response -> header ( 'HTTP/1.0 404 Not Found' ) ; // Execute return $ response ; } , 'arguments' => [ ] ] ; }
Check if any of routes doesn't match

@access  private
@return  \Lollipop\HTTP\Response
Check if any of routes doesn t match