You are here

public function Twig_Compiler::__construct in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/Compiler.php \Twig_Compiler::__construct()

Constructor.

Parameters

Twig_Environment $env The twig environment instance:

File

vendor/Twig/Compiler.php, line 34

Class

Twig_Compiler
Compiles a node to PHP code.

Code

public function __construct(Twig_Environment $env) {
  $this->env = $env;
  $this->debugInfo = array();
}