Spec-Zone.ru › Symfony 4.1

AddConsoleCommandPass

class AddConsoleCommandPass implements CompilerPassInterface

Регистрирует команды консоли.

Методы

__construct(string $commandLoaderServiceId = 'console.command_loader', string $commandTag = 'console.command')
process(ContainerBuilder $container)

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

Подробности

__construct(string $commandLoaderServiceId = 'console.command_loader', string $commandTag = 'console.command')

Параметры

string $commandLoaderServiceId
string $commandTag

process(ContainerBuilder $container)

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

Параметры

ContainerBuilder $container

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

Spec-Zone.ru

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