/**
  * Make a controller instance via the IoC container.
  *
  * @param  string  $controller
  * @return mixed
  */
 protected function makeController($controller)
 {
     if ($this->creator) {
         Controller::setRouter($this->router);
         return $this->creator->createController($controller, $this->getPage());
     }
     return parent::makeController($controller);
 }
 /**
  * Make a controller instance via the IoC container.
  *
  * @param  string  $controller
  * @return mixed
  */
 protected function makeController($controller)
 {
     Controller::setRouter($this->router);
     return $this->container->make($controller);
 }
 /**
  * Get the middleware for the given Controller@action name.
  *
  * @param string $actionName        	
  * @return array
  */
 protected function getControllerMiddleware($actionName)
 {
     Controller::setRouter($this->laravel['router']);
     $segments = explode('@', $actionName);
     return $this->getControllerMiddlewareFromInstance($this->laravel->make($segments[0]), $segments[1]);
 }