public function show404()
    {
        $this->executeAction = false;
        return new Response(function($resp){
            $resp->status = 404;
            $resp->body   = $this->renderView($this->notFoundView, [
                '_layout' => $this->layout
            ]);
        });
    }
public function show404()
    {
        $this->executeAction = false;
        return new Response(function($resp){
            $resp->status = 404;
            $resp->body   = $this->renderView($this->notFoundView, [
                '_layout' => $this->layout
            ]);
        });
    }
public function show404 ( ) { $ this -> executeAction = false ; return new Response ( function ( $ resp ) { $ resp -> status = 404 ; $ resp -> body = $ this -> renderView ( $ this -> notFoundView , [ '_layout' => $ this -> layout ] ) ; } ) ; }
Sets the response to a 404 Not Found
Sets the response to a 404 Not Found