class Twig_Node_Embed extends Twig_Node_Include
Represents an embed node.
Methods
|
__construct($filename, $index, Twig_Node_Expression $variables = null, $only = false, $ignoreMissing = false, integer $lineno, string $tag = null)
Constructor. |
||
|
compile(Twig_Compiler $compiler)
Compiles the node to PHP. |
from Twig_Node_Include |
Details
at line 20
public
__construct($filename, $index, Twig_Node_Expression $variables = null, $only = false, $ignoreMissing = false, 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']).
in Twig_Node_Include at line 30
public
compile(Twig_Compiler $compiler)
Compiles the node to PHP.