src/View/SSViewer.php
public function parseTemplateContent($content, $template = "")
    {
        return $this->getParser()->compileString(
            $content,
            $template,
            Director::isDev() && SSViewer::config()->uninherited('source_file_comments')
        );
    }
public function parseTemplateContent($content, $template = "")
    {
        return $this->getParser()->compileString(
            $content,
            $template,
            Director::isDev() && SSViewer::config()->uninherited('source_file_comments')
        );
    }
public function parseTemplateContent ( $ content , $ template = "" ) { return $ this -> getParser ( ) -> compileString ( $ content , $ template , Director :: isDev ( ) && SSViewer :: config ( ) -> uninherited ( 'source_file_comments' ) ) ; }
Parse given template contents

@param string $content The template contents
@param string $template The template file name
@return string
Parse given template contents