class TwigEngine extends TwigEngine implements EngineInterface
This engine renders Twig templates.
Methods
__construct(Twig_Environment $environment, TemplateNameParserInterface $parser, FileLocatorInterface $locator) Constructor.
string render(string|TemplateReferenceInterface $name, array $parameters = array()) Renders a template.
stream(string|TemplateReferenceInterface $name, array $parameters = array()) Streams a template. from TwigEngine bool exists(string|TemplateRef