W3cubDocs

/Symfony 4.1

ArgumentsNode

class ArgumentsNode extends ArrayNode

Properties

$nodes from Node
$attributes from Node
protected $index from ArrayNode

Methods

__construct() from ArrayNode
__toString() from Node
compile(Compiler $compiler)

Compiles the node to PHP.

evaluate($functions, $values) from ArrayNode
toArray()
dump() from Node
dumpString($value) from Node
isHash(array $value) from Node
addElement(Node $value, Node $key = null) from ArrayNode
getKeyValuePairs() from ArrayNode
compileArguments(Compiler $compiler, $withKeys = true) from ArrayNode

Details

__construct()

__toString()

compile(Compiler $compiler)

Compiles the node to PHP.

Parameters

Compiler $compiler

evaluate($functions, $values)

Parameters

$functions
$values

toArray()

dump()

protected dumpString($value)

Parameters

$value

protected isHash(array $value)

Parameters

array $value

addElement(Node $value, Node $key = null)

Parameters

Node $value
Node $key

protected getKeyValuePairs()

protected compileArguments(Compiler $compiler, $withKeys = true)

Parameters

Compiler $compiler
$withKeys

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