Method | Description | |
---|---|---|
getDefinition ( ) | Overridden so that the application doesn't expect the command name to be the first argument. | |
getDispatcher ( ) | ||
getVersion ( ) | ||
setDispatcher ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher ) |
Method | Description | |
---|---|---|
getCommandName ( Symfony\Component\Console\Input\InputInterface $input ) : string | Gets the name of the command based on input. | |
getDefaultCommands ( ) : array | Gets the default commands that should always be available. |
protected getCommandName ( Symfony\Component\Console\Input\InputInterface $input ) : string | ||
$input | Symfony\Component\Console\Input\InputInterface | The input interface |
return | string | The command name |
protected getDefaultCommands ( ) : array | ||
return | array | An array of default Command instances |
public getDefinition ( ) |
public setDispatcher ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher ) | ||
$dispatcher | Symfony\Component\EventDispatcher\EventDispatcherInterface |