Twig_Environment::render
Renders a template.
Signature
public function render(string
$name,
array
$context )
Parameters
$name
— string- The template name
$context
— array- An array of parameters to pass to the template
Returns
- string
- The rendered template