$nodes
$nodes :
Represents an autoescape node.
The value is the escaping strategy (can be html, js, ...)
The true value is equivalent to html.
If autoescaping is disabled, then the value is false.
__construct(array $nodes = array(), array $attributes = array(), integer $lineno, string $tag = null)
Constructor.
The nodes are automatically made available as properties ($this->node). The attributes are automatically made available as array items ($this['name']).
array | $nodes | An array of named nodes |
array | $attributes | An array of attributes (should not be nodes) |
integer | $lineno | The line number |
string | $tag | The tag name associated with the Node |
compile(\Twig_Compiler $compiler)
\Twig_Compiler | $compiler |
getNode( $name) : \Twig_Node
$name |