W3cubDocs

/Symfony 3.0

Symfony\Component\ExpressionLanguage\Node\ArrayNode

class ArrayNode extends Node

Properties

$nodes
$attributes

Methods

__construct()

Constructor.

__toString() from Node
compile(Compiler $compiler)

Compiles the node to PHP.

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

Details

public __construct()

Constructor.

public __toString()

public compile(Compiler $compiler)

Compiles the node to PHP.

Parameters

Compiler $compiler A Compiler instance

public evaluate($functions, $values)

Parameters

$functions
$values

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

Parameters

Node $value
Node $key

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