AddConsoleCommandPass
in package
implements
CompilerPassInterface
Registers console commands.
Tags
Interfaces, Classes and Traits
- CompilerPassInterface
- Interface that must be implemented by compilation passes.
Table of Contents
- $commandLoaderServiceId : mixed
- $commandTag : mixed
- $noPreloadTag : mixed
- $privateTagName : mixed
- __construct() : mixed
- process() : mixed
- You can modify the container here before it is dumped to PHP code.
Properties
$commandLoaderServiceId
private
mixed
$commandLoaderServiceId
$commandTag
private
mixed
$commandTag
$noPreloadTag
private
mixed
$noPreloadTag
$privateTagName
private
mixed
$privateTagName
Methods
__construct()
public
__construct([string $commandLoaderServiceId = 'console.command_loader' ][, string $commandTag = 'console.command' ][, string $noPreloadTag = 'container.no_preload' ][, string $privateTagName = 'container.private' ]) : mixed
Parameters
- $commandLoaderServiceId : string = 'console.command_loader'
- $commandTag : string = 'console.command'
- $noPreloadTag : string = 'container.no_preload'
- $privateTagName : string = 'container.private'
Return values
mixed —process()
You can modify the container here before it is dumped to PHP code.
public
process(ContainerBuilder $container) : mixed
Parameters
- $container : ContainerBuilder