Dietcube\Controller\ErrorController::methodNotAllowed PHP Method

methodNotAllowed() public method

public methodNotAllowed ( )
    public function methodNotAllowed()
    {
        $this->getResponse()->setStatusCode(403);
        return $this->render('error403');
    }