W3cubDocs

/Symfony 4.1

GetAttrNode

class GetAttrNode extends Node

Constants

PROPERTY_CALL
METHOD_CALL
ARRAY_CALL

Properties

$nodes from Node
$attributes from Node

Methods

__construct(Node $node, Node $attribute, ArrayNode $arguments, int $type)
__toString() from Node
compile(Compiler $compiler)
evaluate($functions, $values)
toArray()
dump() from Node
dumpString($value) from Node
isHash(array $value) from Node

Details

__construct(Node $node, Node $attribute, ArrayNode $arguments, int $type)

Parameters

Node $node
Node $attribute
ArrayNode $arguments
int $type

__toString()

compile(Compiler $compiler)

Parameters

Compiler $compiler

evaluate($functions, $values)

Parameters

$functions
$values

toArray()

dump()

protected dumpString($value)

Parameters

$value

protected isHash(array $value)

Parameters

array $value

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/ExpressionLanguage/Node/GetAttrNode.html