private function providesMiddleware() : bool
    {
        $controller = $this->getController();

        if ($controller && ($controller instanceof ProvidesControllerMiddleware)) {
            return true;
        }

        return false;
    }
private function providesMiddleware() : bool
    {
        $controller = $this->getController();

        if ($controller && ($controller instanceof ProvidesControllerMiddleware)) {
            return true;
        }

        return false;
    }
private function providesMiddleware ( ) : bool { $ controller = $ this -> getController ( ) ; if ( $ controller && ( $ controller instanceof ProvidesControllerMiddleware ) ) { return true ; } return false ; }
Can this action provide Middleware

@return bool
Can this action provide Middleware