W3cubDocs

/Symfony 4.1

TransDefaultDomainTokenParser

class TransDefaultDomainTokenParser extends AbstractTokenParser

Token Parser for the 'trans_default_domain' tag.

Methods

Node parse(Token $token)

Parses a token and returns a node.

string getTag()

Gets the tag name associated with this token parser.

Details

Node parse(Token $token)

Parses a token and returns a node.

Parameters

Token $token

Return Value

Node

string getTag()

Gets the tag name associated with this token parser.

Return Value

string The tag name

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