AddConsoleCommandPass
class AddConsoleCommandPass implements CompilerPassInterface
Registers console commands.
Methods
| __construct($commandLoaderServiceId = 'console.command_loader', $commandTag = 'console.command') | ||
| process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. |
Details
__construct($commandLoaderServiceId = 'console.command_loader', $commandTag = 'console.command')
Parameters
| $commandLoaderServiceId | ||
| $commandTag |
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/Console/DependencyInjection/AddConsoleCommandPass.html