Home
last modified time | relevance | path

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

/template/twigstarter/vendor/twig/twig/src/Test/
DNodeTestCase.php79 return new Compiler($environment ?? $this->getEnvironment());
87 protected function getEnvironment() function in Twig\\Test\\NodeTestCase
/template/twigstarter/vendor/twig/twig/src/Node/
DFlushNode.php34 if ($compiler->getEnvironment()->useYield()) {
DCaptureNode.php32 $useYield = $compiler->getEnvironment()->useYield();
DModuleNode.php196 …->write('class '.$compiler->getEnvironment()->getTemplateClass($this->getSourceContext()->getName(…
511 … ->string($compiler->getEnvironment()->isDebug() ? $this->getSourceContext()->getCode() : '')
/template/twigstarter/vendor/twig/twig/src/TokenParser/
DApplyTokenParser.php38 …$op = $this->parser->getEnvironment()->getExpressionParsers()->getByClass(FilterExpressionParser::…
DGuardTokenParser.php43 $exists = null !== $this->parser->getEnvironment()->$method($name);
/template/twigstarter/vendor/twig/twig/src/Node/Expression/
DTestExpression.php69 …$this->setAttribute('twig_callable', $compiler->getEnvironment()->getTest($this->getAttribute('nam…
DFunctionExpression.php73 $this->setAttribute('twig_callable', $compiler->getEnvironment()->getFunction($name));
DNameExpression.php71 …if ($this->getAttribute('ignore_strict_check') || !$compiler->getEnvironment()->isStrictVariables(…
DFilterExpression.php76 $this->setAttribute('twig_callable', $compiler->getEnvironment()->getFilter($name));
DGetAttrExpression.php51 $env = $compiler->getEnvironment();
DCallExpression.php54 if (!$compiler->getEnvironment()->hasExtension($class)) {
/template/twigstarter/vendor/twig/twig/src/Node/Expression/Binary/
DObjectDestructuringSetBinary.php68 …', [], \\Twig\\Template::ANY_CALL, false, false, ')->repr($compiler->getEnvironment()->hasExtensio…
/template/twigstarter/vendor/twig/twig/src/
DCompiler.php37 public function getEnvironment(): Environment function in Twig\\Compiler
DParser.php68 public function getEnvironment(): Environment function in Twig\\Parser
/template/twigstarter/vendor/twig/twig/
DCHANGELOG220 * Mark `Twig\Test\NodeTestCase::getEnvironment()` as final, override `createEnvironment()` instead.