You are here

public function Twig_TemplateInterface::display in Translation template extractor 7.3

Same name and namespace in other branches
  1. 6.3 vendor/Twig/TemplateInterface.php \Twig_TemplateInterface::display()

Displays the template with the given context.

Parameters

array $context An array of parameters to pass to the template:

array $blocks An array of blocks to pass to the template:

1 method overrides Twig_TemplateInterface::display()
Twig_Template::display in vendor/Twig/Template.php
Displays the template with the given context.

File

vendor/Twig/TemplateInterface.php, line 40

Class

Twig_TemplateInterface
Interface implemented by all compiled templates.

Code

public function display(array $context, array $blocks = array());