public TwigEnvironment::__construct($root, CacheBackendInterface
A class that defines a Twig environment for Drupal. Instances of this class are used to store the configuration and extensions, and are used
public TwigEnvironment::renderInline($template_string, array $context
public TwigEnvironment::getTemplateClass($name, $index = NULL)
Static cache of template classes. Type: