You are here

public function Twig_TemplateTest::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/test/Twig/Tests/TemplateTest.php \Twig_TemplateTest::__construct()

Constructor.

Parameters

Twig_Environment $env A Twig_Environment instance:

Overrides Twig_Template::__construct

File

vendor/twig/twig/test/Twig/Tests/TemplateTest.php, line 420

Class

Twig_TemplateTest

Code

public function __construct(Twig_Environment $env, $useExtGetAttribute = false) {
  parent::__construct($env);
  $this->useExtGetAttribute = $useExtGetAttribute;
  self::$cache = array();
}