public function Twig_TemplateInterface::render in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/lib/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/ twig/ lib/ Twig/ Template.php - Renders the template with the given context and returns it as string.
File
- vendor/
twig/ twig/ lib/ Twig/ TemplateInterface.php, line 32
Class
- Twig_TemplateInterface
- Interface implemented by all compiled templates.
Code
public function render(array $context);