Class

Symfony\Bridge\Twig\Node\TransNode

class TransNode extends Twig_Node

Methods

__construct(Twig_NodeInterface $body, Twig_NodeInterface $domain = null, Twig_Node_Expression $count = null, Twig_Node_Expression $vars = null, Twig_Node_Expression $locale = null, $lineno, $tag = null)

compile(Twig_Compiler $compiler)

Compiles the node to PHP.

Details

at line 19
public __construct(Twig_NodeInterface $body, Twig_NodeInterface $domain = null, Twig_Node_Expression $count = null, Twig_Node_Expression $vars = null, Twig_Node_Expression $locale = null, $lineno, $tag = null)

Parameters

Twig_NodeInterface $body
Twig_NodeInterface $domain
Twig_Node_Expression $count
Twig_Node_Expression $vars
Twig_Node_Expression $locale
$lineno
$tag

at line 29
public compile(Twig_Compiler $compiler)

Compiles the node to PHP.

Parameters

Twig_Compiler $compiler A Twig_Compiler instance