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

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

        return false;
    }