function Twig_TemplateInterface::getEnvironment

Returns the bound environment for this template.

Return value

Twig_Environment The current environment

1 method overrides Twig_TemplateInterface::getEnvironment()
Twig_Template::getEnvironment in drupal/core/vendor/twig/twig/lib/Twig/Template.php
Returns the bound environment for this template.

File

drupal/core/vendor/twig/twig/lib/Twig/TemplateInterface.php, line 46

Class

Twig_TemplateInterface
Interface implemented by all compiled templates.

Code

function getEnvironment();