GetAttrNode

Type
Class
Namespace
craft\web\twig\nodes
Inherits
craft\web\twig\nodes\GetAttrNode » Twig\Node\Expression\GetAttrExpression
Since
3.0.0

GetAttrNode is an alternative to \Twig\Node\Expression\GetAttrExpression, which sends attribute calls to craft\helpers\Template::attribute() rather than twig_get_attribute().

View source (opens new window)

# Public Methods

Method Description
__construct()
compile()

# __construct()

View source (opens new window)

Arguments

# compile()

View source (opens new window)

Arguments

  • $compiler