public function controllerMiddleware()
    {
        if (! $this->isControllerAction()) {
            return [];
        }

        return $this->controllerDispatcher()->getMiddleware(
            $this->getController(), $this->getControllerMethod()
        );
    }
public function controllerMiddleware()
    {
        if (! $this->isControllerAction()) {
            return [];
        }

        return $this->controllerDispatcher()->getMiddleware(
            $this->getController(), $this->getControllerMethod()
        );
    }
public function controllerMiddleware ( ) { if ( ! $ this -> isControllerAction ( ) ) { return [ ] ; } return $ this -> controllerDispatcher ( ) -> getMiddleware ( $ this -> getController ( ) , $ this -> getControllerMethod ( ) ) ; }
Get the middleware for the route's controller.

@return array
Get the middleware for the route s controller .