W3cubDocs

/Symfony 4.1

TransNode

class TransNode extends Node

Methods

__construct(Node $body, Node $domain = null, AbstractExpression $count = null, AbstractExpression $vars = null, AbstractExpression $locale = null, int $lineno = 0, string $tag = null)
compile(Compiler $compiler)
compileString(Node $body, ArrayExpression $vars, $ignoreStrictCheck = false)

Details

__construct(Node $body, Node $domain = null, AbstractExpression $count = null, AbstractExpression $vars = null, AbstractExpression $locale = null, int $lineno = 0, string $tag = null)

Parameters

Node $body
Node $domain
AbstractExpression $count
AbstractExpression $vars
AbstractExpression $locale
int $lineno
string $tag

compile(Compiler $compiler)

Parameters

Compiler $compiler

protected compileString(Node $body, ArrayExpression $vars, $ignoreStrictCheck = false)

Parameters

Node $body
ArrayExpression $vars
$ignoreStrictCheck

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bridge/Twig/Node/TransNode.html