public function setTemplate($path)
    {
        $this->_prepared = false;
        $this->_functionName = null;
        $this->_codeFile = null;
        $this->_path = $path;
        $this->_source = null;
        $this->_context->_docType = null;
        $this->_context->_xmlDeclaration = null;
        return $this;
    }
public function setTemplate($path)
    {
        $this->_prepared = false;
        $this->_functionName = null;
        $this->_codeFile = null;
        $this->_path = $path;
        $this->_source = null;
        $this->_context->_docType = null;
        $this->_context->_xmlDeclaration = null;
        return $this;
    }
public function setTemplate ( $ path ) { $ this -> _prepared = false ; $ this -> _functionName = null ; $ this -> _codeFile = null ; $ this -> _path = $ path ; $ this -> _source = null ; $ this -> _context -> _docType = null ; $ this -> _context -> _xmlDeclaration = null ; return $ this ; }
Set template from file path.

@param string $path filesystem path,
or any path that will be accepted by source resolver

@return $this
Set template from file path .