public function Twig_TemplateInterface::render in Translation template extractor 6.3
Same name and namespace in other branches
- 7.3 vendor/Twig/TemplateInterface.php \Twig_TemplateInterface::render()
Renders the template with the given context and returns it as string.
Parameters
array $context An array of parameters to pass to the template:
Return value
string The rendered template
1 method overrides Twig_TemplateInterface::render()
- Twig_Template::render in vendor/
Twig/ Template.php - Renders the template with the given context and returns it as string.
File
- vendor/
Twig/ TemplateInterface.php, line 32
Class
- Twig_TemplateInterface
- Interface implemented by all compiled templates.
Code
public function render(array $context);