public function getTemplate()
    {
        if (file_exists($this->templatePath)) {
            return file_get_contents($this->templatePath);
        }

        return '<!-- Template file ' . $this->templatePath . ' not found -->' . PHP_EOL . '{content}';
    }
public function getTemplate()
    {
        if (file_exists($this->templatePath)) {
            return file_get_contents($this->templatePath);
        }

        return '<!-- Template file ' . $this->templatePath . ' not found -->' . PHP_EOL . '{content}';
    }
public function getTemplate ( ) { if ( file_exists ( $ this -> templatePath ) ) { return file_get_contents ( $ this -> templatePath ) ; } return '<!-- Template file ' . $ this -> templatePath . ' not found -->' . PHP_EOL . '{content}' ; }
Returns the template

@return string
Returns the template