public function Twig_TemplateInterface::getEnvironment in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/lib/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/ twig/ lib/ Twig/ Template.php
File
- vendor/
twig/ twig/ lib/ Twig/ TemplateInterface.php, line 47
Class
- Twig_TemplateInterface
- Interface implemented by all compiled templates.
Code
public function getEnvironment();