symfony / 3.3 / symfony / component / console / dependencyinjection / addconsolecommandpass.html

AddConsoleCommandPass

class AddConsoleCommandPass implements CompilerPassInterface

Registers console commands.

Methods

process(ContainerBuilder $container)

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

Details

process(ContainerBuilder $container)

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

Parameters

ContainerBuilder $container