TranslatorPass deprecated
class TranslatorPass extends TranslatorPass
deprecated
Adds tagged translation.formatter services to translation writer.
Methods
__construct($translatorServiceId = 'translator.default', $readerServiceId = 'translation.loader', $loaderTag = 'translation.loader', $debugCommandServiceId = 'console.command.translation_debug', $updateCommandServiceId = 'console.command.translation_update') | 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', $readerServiceId = 'translation.loader', $loaderTag = 'translation.loader', $debugCommandServiceId = 'console.command.translation_debug', $updateCommandServiceId = 'console.command.translation_update')
Parameters
$translatorServiceId | ||
$readerServiceId | ||
$loaderTag | ||
$debugCommandServiceId | ||
$updateCommandServiceId |
process(ContainerBuilder $container)
You can modify the container here before it is dumped to PHP code.
Parameters
ContainerBuilder | $container |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.4/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/TranslatorPass.html