Home
last modified time | relevance | path

Searched refs:getEnvironment (Results 1 – 13 of 13) sorted by relevance

/template/twigstarter/vendor/twig/twig/src/Test/
H A DNodeTestCase.php46 return new Compiler(null === $environment ? $this->getEnvironment() : $environment);
49 protected function getEnvironment() function in Twig\\Test\\NodeTestCase
/template/twigstarter/vendor/twig/twig/src/Node/
H A DModuleNode.php165 …->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() : '')
H A DSpacelessNode.php37 if ($compiler->getEnvironment()->isDebug()) {
H A DSetNode.php60 if ($compiler->getEnvironment()->isDebug()) {
H A DMacroNode.php92 if ($compiler->getEnvironment()->isDebug()) {
/template/twigstarter/vendor/twig/twig/src/Node/Expression/
H A DTestExpression.php32 $test = $compiler->getEnvironment()->getTest($name);
H A DFilterExpression.php28 $filter = $compiler->getEnvironment()->getFilter($name);
H A DFunctionExpression.php27 $function = $compiler->getEnvironment()->getFunction($name);
H A DNameExpression.php63 …if ($this->getAttribute('ignore_strict_check') || !$compiler->getEnvironment()->isStrictVariables(…
H A DGetAttrExpression.php33 $env = $compiler->getEnvironment();
H A DCallExpression.php42 if (!$compiler->getEnvironment()->hasExtension($class)) {
/template/twigstarter/vendor/twig/twig/src/
H A DCompiler.php43 public function getEnvironment() function in Twig\\Compiler
/template/twigstarter/vendor/twig/twig/
H A DCHANGELOG373 * removed Twig_Template::getEnvironment()