TranslatorPass
class TranslatorPass implements CompilerPassInterface
Methods
__construct($translatorServiceId = 'translator.default', $readerServiceId = 'translation.loader', $loaderTag = 'translation.loader', $debugCommandServiceId = 'console.command.translation_debug', $updateCommandServiceId = 'console.command.translation_update') | ||
process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. |
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/Component/Translation/DependencyInjection/TranslatorPass.html