public function setTemplateRepository($rep)
    {
        if (is_array($rep)) {
            $this->_repositories = $rep;
        } else {
            $this->_repositories[] = $rep;
        }
        return $this;
    }
public function setTemplateRepository($rep)
    {
        if (is_array($rep)) {
            $this->_repositories = $rep;
        } else {
            $this->_repositories[] = $rep;
        }
        return $this;
    }
public function setTemplateRepository ( $ rep ) { if ( is_array ( $ rep ) ) { $ this -> _repositories = $ rep ; } else { $ this -> _repositories [ ] = $ rep ; } return $ this ; }
Specify where to look for templates.

@param mixed $rep string or Array of repositories

@return $this
Specify where to look for templates .