W3cubDocs

/Symfony 4.1

Node

class Node

Represents a node in the AST.

Properties

$nodes
$attributes

Methods

__construct(array $nodes = array(), array $attributes = array())
__toString()
compile(Compiler $compiler)
evaluate($functions, $values)
toArray()
dump()
dumpString($value)
isHash(array $value)

Details

__construct(array $nodes = array(), array $attributes = array())

Parameters

array $nodes An array of nodes
array $attributes An array of attributes

__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/Node.html