Skip to content

GetAttrAdjuster ​

Type
Class
Namespace
craft\web\twig\nodevisitors
Inherits
craft\web\twig\nodevisitors\GetAttrAdjuster
Implements
Twig\NodeVisitor\NodeVisitorInterface
Since
3.0.0

GetAttrAdjuster swaps \Twig\Node\Expression\GetAttrExpression nodes with craft\web\twig\nodes\GetAttrNode nodes.

View source

Public Methods ​

MethodDescription
enterNode()
getPriority()
leaveNode()

enterNode() ​

View source

Arguments ​

  • $node
  • $env

getPriority() ​

View source

leaveNode() ​

View source

Arguments ​

  • $node
  • $env