Symfony\Bridge\Twig\TwigEngine::stream
Streams a template.
Signature
public function stream(mixed
$name,
array
$parameters )
Parameters
$name
— mixed- A template name or a TemplateReferenceInterface instance
$parameters
— array- An array of parameters to pass to the template
Errors/Exceptions
-
RuntimeException
- if the template cannot be rendered