Home
last modified time | relevance | path

Searched refs:traits (Results 1 – 3 of 3) sorted by relevance

/template/twigstarter/vendor/twig/twig/src/
DParser.php55 private $traits; variable in Twig\\Parser
103 $this->traits = [];
134 $this->traits ? new Nodes($this->traits) : new EmptyNode(),
313 $this->traits[] = $trait;
320 return \count($this->traits) > 0;
416 return $this->parent || 0 < \count($this->traits);
DTemplate.php38 protected $traits = []; variable in Twig\\Template
498 if (isset($this->traits[$name])) {
499 …yield from $this->traits[$name][0]->yieldBlock($this->traitAliases[$name] ?? $name, $context, $blo…
/template/twigstarter/vendor/twig/twig/src/Node/
DModuleNode.php36 …de $body, ?AbstractExpression $parent, Node $blocks, Node $macros, Node $traits, $embeddedTemplate… argument
55 'traits' => $traits,