Lines Matching refs:templates

21     protected static $templates;  variable in Twig_Tests_Extension_SandboxTest
31 self::$templates = [
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);
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]);
263 self::$templates = [
268 $twig = $this->getEnvironment(false, [], self::$templates);
271 self::$templates = [
276 $twig = $this->getEnvironment(true, [], self::$templates);
302 $twig = $this->getEnvironment(false, [], self::$templates);
317 …protected function getEnvironment($sandboxed, $options, $templates, $tags = [], $filters = [], $me… argument
319 $loader = new ArrayLoader($templates);