ArrayNode

class ArrayNode extends Node

Properties

$nodes from Node
$attributes from Node

Methods

__construct()

Constructor.

__toString() from Node
compile(Compiler $compiler)

Compiles the node to PHP.

evaluate($functions, $values)
addElement(Node $value, Node $key = null)

Details

__construct()

Constructor.

__toString()

compile(Compiler $compiler)

Compiles the node to PHP.

Parameters

Compiler $compiler

evaluate($functions, $values)

Parameters

$functions
$values

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

Parameters

Node $value
Node $key

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/ExpressionLanguage/Node/ArrayNode.html