TranslatorPass deprecated

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') from TranslatorPass
process(ContainerBuilder $container)

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

from TranslatorPass

Details

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

Parameters

$translatorServiceId
$loaderServiceId
$loaderTag

process(ContainerBuilder $container)

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

Parameters

ContainerBuilder $container