Comments/Provider/TemplateBasedProvider.php
protected function doRender(array $options)
    {
        $template = isset($options['template']) ? $options['template'] : $this->getDefaultTemplate();
        unset($options['template']);

        return $this->templateEngine->render($template, $options);
    }
protected function doRender(array $options)
    {
        $template = isset($options['template']) ? $options['template'] : $this->getDefaultTemplate();
        unset($options['template']);

        return $this->templateEngine->render($template, $options);
    }
protected function doRender ( array $ options ) { $ template = isset ( $ options [ 'template' ] ) ? $ options [ 'template' ] : $ this -> getDefaultTemplate ( ) ; unset ( $ options [ 'template' ] ) ; return $ this -> templateEngine -> render ( $ template , $ options ) ; }
Renders the template with provided options.
"template" option allows to override the default template for rendering.

@param array $options

@return string
Renders the template with provided options . template option allows to override the default template for rendering .