Exemplo n.º 1
0
 public function getFullyQualifiedClassName($templateFile = null)
 {
     if ($templateFile === null) {
         $templateFile = !is_null($this->template) ? $this->template->getContext()->getFile() : $this->parserContext->getFile();
         if ($this->className !== null) {
             return "\\" . trim(trim($this->namespace, "\\") . "\\" . trim($this->className, "\\"), "\\");
         }
     }
     return "\\" . trim(trim($this->namespace, "\\") . "\\" . trim($this->formatClassName($templateFile), "\\"), "\\");
 }