public function addPartialPath($path) { $this->partialPath[] = $path; return $this; }
/** * Get new View instance * * @return View */ protected function getView() { $view = new View(); // setup default partial path $view->addPartialPath($this->getApp()->getPath() . '/layouts/partial'); return $view; }