private function fetchTemplate($template)
    {
        $resolver = $this->getResolver();
        $content  = $resolver->resolve($template);

        if (! $content) {
            throw new Exception\TemplateNotFoundException('Template by name "' . $template . '" not found');
        }

        return $content;
    }
private function fetchTemplate($template)
    {
        $resolver = $this->getResolver();
        $content  = $resolver->resolve($template);

        if (! $content) {
            throw new Exception\TemplateNotFoundException('Template by name "' . $template . '" not found');
        }

        return $content;
    }
private function fetchTemplate ( $ template ) { $ resolver = $ this -> getResolver ( ) ; $ content = $ resolver -> resolve ( $ template ) ; if ( ! $ content ) { throw new Exception \ TemplateNotFoundException ( 'Template by name "' . $ template . '" not found' ) ; } return $ content ; }
Locate and retrieve a template in the template path stack

@param  string $template
@return string
@throws Exception\TemplateNotFoundException
Locate and retrieve a template in the template path stack