You are here

public function Twig_TemplateInterface::getEnvironment in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/TemplateInterface.php \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 vendor/Twig/Template.php
Returns the bound environment for this template.

File

vendor/Twig/TemplateInterface.php, line 47

Class

Twig_TemplateInterface
Interface implemented by all compiled templates.

Code

public function getEnvironment();