/** * @param null $conf */ public function __construct($conf = null) { $this->controllerName = $this->getControllerName(); $this->view = View::run(); $this->view->initConfig($this->controllerName); }