/** * Attempts to find, construct and return a template object with the given template name or (relative/absolute) * path. * * @param string $nameOrPath * * @return Template */ public function get($nameOrPath) { return $this->createTemplateFromXml($this->fetchTemplateXmlFromPath($this->pathResolver->resolve($nameOrPath))); }