/** * Método que añade la ruta del controlador a los path de plantillas Twig * @param string $path * @return $this */ protected function setTemplatePath($path) { $this->tpl->addPath($path, $this->domain); return $this; }