Lines Matching refs:getEnvironment

54         $twig = $this->getEnvironment(true, [], self::$templates, ['block']);
60 $twig = $this->getEnvironment(false, [], self::$templates);
66 $twig = $this->getEnvironment(true, [], self::$templates);
79 $twig = $this->getEnvironment(true, [], self::$templates);
91 $twig = $this->getEnvironment(true, [], self::$templates);
103 $twig = $this->getEnvironment(true, [], self::$templates);
119 …$twig = $this->getEnvironment(true, [], ['index' => $template], [], ['upper'], ['FooObject' => 'ge…
154 …$twig = $this->getEnvironment(true, [], ['index' => $template], ['set'], [], ['FooObject' => ['foo…
173 … $twig = $this->getEnvironment(true, [], self::$templates, [], [], ['FooObject' => '__toString']);
181 $twig = $this->getEnvironment(false, [], self::$templates);
189 $twig = $this->getEnvironment(true, [], self::$templates);
201 $twig = $this->getEnvironment(true, [], self::$templates);
213 $twig = $this->getEnvironment(true, [], self::$templates, [], [], ['FooObject' => 'foo']);
221 $twig = $this->getEnvironment(true, [], self::$templates, [], ['upper']);
227 $twig = $this->getEnvironment(true, [], self::$templates, ['if']);
233 … $twig = $this->getEnvironment(true, [], self::$templates, [], [], [], ['FooObject' => 'bar']);
239 $twig = $this->getEnvironment(true, [], self::$templates, [], [], [], [], ['cycle']);
245 $twig = $this->getEnvironment(true, [], self::$templates, [], [], [], [], ['range']);
252 … $twig = $this->getEnvironment(true, [], self::$templates, [], [], ['FooObject' => $name]);
268 $twig = $this->getEnvironment(false, [], self::$templates);
276 $twig = $this->getEnvironment(true, [], self::$templates);
288 $twig = $this->getEnvironment(true, ['autoescape' => 'html'], ['index' => <<<EOF
302 $twig = $this->getEnvironment(false, [], self::$templates);
317 …protected function getEnvironment($sandboxed, $options, $templates, $tags = [], $filters = [], $me… function in Twig_Tests_Extension_SandboxTest