You are here

public function Twig_Template::__construct in Translation template extractor 6.3

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

Constructor.

Parameters

Twig_Environment $env A Twig_Environment instance:

File

vendor/Twig/Template.php, line 33

Class

Twig_Template
Default base class for compiled templates.

Code

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