Searched refs:traits (Results 1 – 3 of 3) sorted by relevance
55 private $traits; variable in Twig\\Parser103 $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);
38 protected $traits = []; variable in Twig\\Template498 if (isset($this->traits[$name])) {499 …yield from $this->traits[$name][0]->yieldBlock($this->traitAliases[$name] ?? $name, $context, $blo…
36 …de $body, ?AbstractExpression $parent, Node $blocks, Node $macros, Node $traits, $embeddedTemplate… argument55 'traits' => $traits,