Twig_TemplateInterface::render
Renders the template with the given context and returns it as string.
Signature
public function render(array
$context )
Parameters
$context
— array- An array of parameters to pass to the template
Returns
- string
- The rendered template