PHP Класс Crummy\Phlack\Bridge\Symfony\Console\ShellBot

Наследование: extends Symfony\Component\Console\Application
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( $name = 'phlackbot', $version = 'UNKNOWN', BotCommand $botCommand = null )
getDefinition ( ) Replaces the default InputDefinition with one containing only the 'command' argument.

Защищенные методы

Метод Описание
getCommandName ( Symfony\Component\Console\Input\InputInterface $input ) Overrides commandName for this ShellBot.
getDefaultCommands ( ) Adds BotCommand as the sole command for this ShellBot.

Описание методов

__construct() публичный Метод

public __construct ( $name = 'phlackbot', $version = 'UNKNOWN', BotCommand $botCommand = null )
$botCommand BotCommand The BotCommand that executes for this ShellBot.

getCommandName() защищенный Метод

protected getCommandName ( Symfony\Component\Console\Input\InputInterface $input )
$input Symfony\Component\Console\Input\InputInterface

getDefaultCommands() защищенный Метод

protected getDefaultCommands ( )

getDefinition() публичный Метод

public getDefinition ( )