protected function registerConsoleCommands(): void
    {
        if ($this->app->runningInConsole()) {
            $this->app->bind('command.ban:delete-expired', DeleteExpiredBans::class);

            $this->commands([
                'command.ban:delete-expired',
            ]);
        }
    }
protected function registerConsoleCommands(): void
    {
        if ($this->app->runningInConsole()) {
            $this->app->bind('command.ban:delete-expired', DeleteExpiredBans::class);

            $this->commands([
                'command.ban:delete-expired',
            ]);
        }
    }
protected function registerConsoleCommands ( ) : void { if ( $ this -> app -> runningInConsole ( ) ) { $ this -> app -> bind ( 'command.ban:delete-expired' , DeleteExpiredBans :: class ) ; $ this -> commands ( [ 'command.ban:delete-expired' , ] ) ; } }
Register Ban's console commands.

@return void
Register Ban s console commands .