W3cubDocs

/Symfony 2.7

Symfony\Bridge\Twig\NodeVisitor\TranslationNodeVisitor

class TranslationNodeVisitor implements Twig_NodeVisitorInterface

TranslationNodeVisitor extracts translation messages.

Constants

UNDEFINED_DOMAIN

Methods

enable()
disable()
getMessages()
enterNode(Twig_NodeInterface $node, Twig_Environment $env)

{@inheritdoc}

leaveNode(Twig_NodeInterface $node, Twig_Environment $env)

{@inheritdoc}

getPriority()

{@inheritdoc}

Details

public enable()

public disable()

public getMessages()

public enterNode(Twig_NodeInterface $node, Twig_Environment $env)

{@inheritdoc}

Parameters

Twig_NodeInterface $node
Twig_Environment $env

public leaveNode(Twig_NodeInterface $node, Twig_Environment $env)

{@inheritdoc}

Parameters

Twig_NodeInterface $node
Twig_Environment $env

public getPriority()

{@inheritdoc}

© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Bridge/Twig/NodeVisitor/TranslationNodeVisitor.html