Crummy\Phlack\Bridge\Symfony\Console\ShellBot::__construct PHP Method

__construct() public method

public __construct ( $name = 'phlackbot', $version = 'UNKNOWN', BotCommand $botCommand = null )
$botCommand BotCommand The BotCommand that executes for this ShellBot.
    public function __construct($name = 'phlackbot', $version = 'UNKNOWN', BotCommand $botCommand = null)
    {
        $this->bot = $botCommand ?: new BotCommand(new ConsoleAdapter(new Mainframe()));
        parent::__construct($name, $version);
    }