Spec-Zone.ru › Symfony 4.1

ПереводчикПасс

класс ПереводчикПасс реализует CompilerPassInterface

Методы

__construct(string $translatorServiceId = 'translator.default', string $readerServiceId = 'translation.reader', string $loaderTag = 'translation.loader', string $debugCommandServiceId = 'console.command.translation_debug', string $updateCommandServiceId = 'console.command.translation_update')
process(ContainerBuilder $container)

Здесь можно изменить контейнер перед выгрузкой в код PHP.

Подробности

__construct(string $translatorServiceId = 'translator.default', string $readerServiceId = 'translation.reader', string $loaderTag = 'translation.loader', string $debugCommandServiceId = 'console.command.translation_debug', string $updateCommandServiceId = 'console.command.translation_update')

Параметры

string $translatorServiceId
string $readerServiceId
string $loaderTag
string $debugCommandServiceId
string $updateCommandServiceId

process(ContainerBuilder $container)

Здесь можно изменить контейнер перед выгрузкой в код PHP.

Параметры

ContainerBuilder $container

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Translation/DependencyInjection/TranslatorPass.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API