W3cubDocs

/Symfony 4.1

TranslationNodeVisitor

class TranslationNodeVisitor extends AbstractNodeVisitor

TranslationNodeVisitor extracts translation messages.

Constants

UNDEFINED_DOMAIN

Methods

enable()
disable()
getMessages()
doEnterNode(Node $node, Environment $env)

{@inheritdoc}

doLeaveNode(Node $node, Environment $env)

{@inheritdoc}

getPriority()

{@inheritdoc}

Details

enable()

disable()

getMessages()

protected doEnterNode(Node $node, Environment $env)

{@inheritdoc}

Parameters

Node $node
Environment $env

protected doLeaveNode(Node $node, Environment $env)

{@inheritdoc}

Parameters

Node $node
Environment $env

getPriority()

{@inheritdoc}

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