43        return $this->
template->render(
$context);
 
   78        return $this->
template->getBlockNames(
$context);
 
   92        $level = ob_get_level();
 
   96        } 
catch (Exception $e) {
 
   97            while (ob_get_level() > $level) {
 
  102        } 
catch (Throwable $e) {
 
  103            while (ob_get_level() > $level) {
 
  110        return ob_get_clean();
 
  121        $this->
template->displayBlock(
$name, $this->env->mergeGlobals(
$context));
 
  129        return $this->
template->getSourceContext();
 
  133class_alias(
'Twig_TemplateWrapper', 
'Twig\TemplateWrapper', 
false);
 
An exception for terminatinating execution or to throw for unit testing.
Stores the Twig configuration.
Exposes a template to userland.
displayBlock($name, $context=array())
Displays a template block.
__construct(Twig_Environment $env, Twig_Template $template)
This method is for internal use only and should never be called directly (use Twig_Environment::load(...
display($context=array())
Displays the template.
getBlockNames($context=array())
Returns defined block names in the template.
hasBlock($name, $context=array())
Checks if a block is defined.
render($context=array())
Renders the template.
renderBlock($name, $context=array())
Renders a template block.
Default base class for compiled templates.