/** * @param $actionName * @return array */ protected function getControllerMiddleware($actionName) { Controller::setRouter($this->notadd['router']); $segments = explode('@', $actionName); return $this->getControllerMiddlewareFromInstance($this->notadd->make($segments[0]), $segments[1]); }