public function Twig_Compiler::getEnvironment in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/lib/Twig/Compiler.php \Twig_Compiler::getEnvironment()
Returns the environment instance related to this compiler.
Return value
Twig_Environment The environment instance
File
- vendor/
twig/ twig/ lib/ Twig/ Compiler.php, line 49
Class
- Twig_Compiler
- Compiles a node to PHP code.
Code
public function getEnvironment() {
return $this->env;
}