class AddConsoleCommandPass implements CompilerPassInterface

Registers console commands.

Methods

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

No description

process(ContainerBuilder $container)

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

Details

at line 32
__construct($commandLoaderServiceId = 'console.command_loader', $commandTag = 'console.command')

Parameters

$commandLoaderServiceId
$commandTag

at line 38
process(ContainerBuilder $container)

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

Parameters

ContainerBuilder $container