/** * Make controller chain by request. * * @return Chain */ protected function makeControllerChain() { $controller = $this->makeController($this->getRequest()->getControllerPath(), $this->getRequest()->getController(), $this->getRequest()->getAction()); $chain = $this->registry->getKit()->makeControllerChain(); $chain->push($controller['instance'], $controller['action']); return $chain; }
protected function getViewToShowError() { return $this->registry->getKit()->makeView(realpath(PROTECTED_PATH . '/project/views')); }