Пример #1
0
 /**
  * @param ControllerAbstract $controller
  */
 public function setController($controller)
 {
     $controller->inject('view', $this->view);
     $controller->inject('request', $this->request);
     $controller->inject('session', $this->session);
     $this->controller = $controller;
 }