mediatekformation

TransChoiceTokenParser extends AbstractTokenParser
in package

Token Parser for the 'transchoice' tag.

Tags
author

Fabien Potencier fabien@symfony.com

deprecated

since Symfony 4.2, use the "trans" tag with a "%count%" parameter instead

final

since Symfony 4.4

Table of Contents

$parser  : Parser
decideTransChoiceFork()  : mixed
getTag()  : string
{@inheritdoc}
parse()  : Node
{@inheritdoc}
setParser()  : void
Sets the parser associated with this token parser.

Properties

Methods

decideTransChoiceFork()

public decideTransChoiceFork(mixed $token) : mixed
Parameters
$token : mixed
Return values
mixed

setParser()

Sets the parser associated with this token parser.

public setParser(Parser $parser) : void
Parameters
$parser : Parser
Return values
void

Search results