class TranslatorPass extends TranslatorPass

deprecated since version 3.4, to be removed in 4.0. Use {@link BaseTranslatorPass instead}.

Adds tagged translation.formatter services to translation writer.

Methods

__construct($translatorServiceId = 'translator.default', $loaderServiceId = 'translation.loader', $loaderTag = 'translation.loader')

No description

process(ContainerBuilder $container)

You can modify the container here before it is dumped to PHP code.

Details

in TranslatorPass at line line 25
__construct($translatorServiceId = 'translator.default', $loaderServiceId = 'translation.loader', $loaderTag = 'translation.loader')

Parameters

$translatorServiceId
$loaderServiceId
$loaderTag

in TranslatorPass at line line 32
process(ContainerBuilder $container)

You can modify the container here before it is dumped to PHP code.

Parameters

ContainerBuilder $container