Method | Description | |
---|---|---|
__construct ( $name = 'phlackbot', $version = 'UNKNOWN', |
||
getDefinition ( ) | Replaces the default InputDefinition with one containing only the 'command' argument. |
Method | Description | |
---|---|---|
getCommandName ( Symfony\Component\Console\Input\InputInterface $input ) | Overrides commandName for this ShellBot. | |
getDefaultCommands ( ) | Adds BotCommand as the sole command for this ShellBot. |
public __construct ( $name = 'phlackbot', $version = 'UNKNOWN', |
||
$botCommand | The BotCommand that executes for this ShellBot. |
protected getCommandName ( Symfony\Component\Console\Input\InputInterface $input ) | ||
$input | Symfony\Component\Console\Input\InputInterface |