/** * @param string $path * * @return string */ protected function compilePath($path) { $params = $this->resource->getParams(); $tpl = new Template($path); $tpl->setParams($params, File::WILDCARD); $path = $tpl->render(); return $path; }