private function setTemplatesPath($templatesPath)
    {
        $this->templatesPath = $templatesPath;
        if (!is_readable($this->templatesPath)) {
            $this->error("Template Root Path ({$this->templatesPath}) does not exist or not readable.");
        }
    }
private function setTemplatesPath($templatesPath)
    {
        $this->templatesPath = $templatesPath;
        if (!is_readable($this->templatesPath)) {
            $this->error("Template Root Path ({$this->templatesPath}) does not exist or not readable.");
        }
    }
private function setTemplatesPath ( $ templatesPath ) { $ this -> templatesPath = $ templatesPath ; if ( ! is_readable ( $ this -> templatesPath ) ) { $ this -> error ( "Template Root Path ({$this->templatesPath}) does not exist or not readable." ) ; } }
Set the path to the templates directory.

@param string $templatesPath
@return void
Set the path to the templates directory .