Lines Matching refs:Environment
12 use Twig\Environment; alias
41 $env = new Environment(new ArrayLoader($templates), ['strict_variables' => true]);
90 $twig = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock());
130 … $twig = new Environment($this->getMockBuilder('Twig_TemplateTestLoaderInterface')->getMock());
178 … $twig = new Environment($this->getMockBuilder('Twig_TemplateTestLoaderInterface')->getMock());
224 … $twig = new Environment($this->getMockBuilder('Twig_TemplateTestLoaderInterface')->getMock());
233 …$template = new Twig_TemplateTest(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterf…
261 …$template = new Twig_TemplateTest(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterf…
271 …$template = new Twig_TemplateTest(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterf…
293 …$template = new Twig_TemplateTest(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterf…
303 …$template = new Twig_TemplateTest(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterf…
310 …$template = new Twig_TemplateTest(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterf…
455 …$template = new Twig_TemplateTest(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterf…
467 public function __construct(Environment $env, $name = 'index.twig')
789 public function enterNode(Twig_NodeInterface $node, Environment $env)
798 public function leaveNode(Twig_NodeInterface $node, Environment $env)