public function Twig_Template::getEnvironment in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/lib/Twig/Template.php \Twig_Template::getEnvironment()
Overrides Twig_TemplateInterface::getEnvironment
Deprecated
since 1.20 (to be removed in 2.0)
File
- vendor/
twig/ twig/ lib/ Twig/ Template.php, line 48
Class
- Twig_Template
- Default base class for compiled templates.
Code
public function getEnvironment() {
@trigger_error('The ' . __METHOD__ . ' method is deprecated since version 1.20 and will be removed in 2.0.', E_USER_DEPRECATED);
return $this->env;
}