Searched refs:getEnvironment (Results 1 – 13 of 13) sorted by relevance
46 return new Compiler(null === $environment ? $this->getEnvironment() : $environment);49 protected function getEnvironment() function in Twig\\Test\\NodeTestCase
165 …->write('class '.$compiler->getEnvironment()->getTemplateClass($this->getSourceContext()->getName(…166 … ->raw(sprintf(" extends %s\n", $compiler->getEnvironment()->getBaseTemplateClass(false)))443 … ->string($compiler->getEnvironment()->isDebug() ? $this->getSourceContext()->getCode() : '')
37 if ($compiler->getEnvironment()->isDebug()) {
60 if ($compiler->getEnvironment()->isDebug()) {
92 if ($compiler->getEnvironment()->isDebug()) {
32 $test = $compiler->getEnvironment()->getTest($name);
28 $filter = $compiler->getEnvironment()->getFilter($name);
27 $function = $compiler->getEnvironment()->getFunction($name);
63 …if ($this->getAttribute('ignore_strict_check') || !$compiler->getEnvironment()->isStrictVariables(…
33 $env = $compiler->getEnvironment();
42 if (!$compiler->getEnvironment()->hasExtension($class)) {
43 public function getEnvironment() function in Twig\\Compiler
373 * removed Twig_Template::getEnvironment()