Stevemo\Cpanel\CpanelServiceProvider::registerCommands PHP Method

registerCommands() public method

Register console commands cpanel:install Register console commands cpanel:user
Author: Steve Montambeault
public registerCommands ( ) : void
return void
    public function registerCommands()
    {
        $this->app['command.cpanel.install'] = $this->app->share(function () {
            return new InstallCommand();
        });
        $this->app['command.cpanel.user'] = $this->app->share(function () {
            return new UserSeedCommand();
        });
        $this->commands('command.cpanel.install', 'command.cpanel.user');
    }