Symfony\Component\Templating\PhpEngine::evaluate
Evaluates a template.
Signature
protected function evaluate(Storage
$template,
array
$parameters )
Parameters
$template
— Symfony\Component\Templating\Storage\Storage- The template to render
$parameters
— array- An array of parameters to pass to the template
Returns
- string|false
- The evaluated template, or false if the engine is unable to render the template