protected function registerCommands()
    {
        if ($this->app->runningInConsole()) {
            $this->commands([
                Console\InstallCommand::class,
                Console\AssetsCommand::class,
                Console\HorizonCommand::class,
                Console\ListCommand::class,
                Console\PurgeCommand::class,
                Console\PauseCommand::class,
                Console\ContinueCommand::class,
                Console\StatusCommand::class,
                Console\SupervisorCommand::class,
                Console\SupervisorsCommand::class,
                Console\TerminateCommand::class,
                Console\TimeoutCommand::class,
                Console\WorkCommand::class,
            ]);
        }

        $this->commands([Console\SnapshotCommand::class]);
    }
protected function registerCommands()
    {
        if ($this->app->runningInConsole()) {
            $this->commands([
                Console\InstallCommand::class,
                Console\AssetsCommand::class,
                Console\HorizonCommand::class,
                Console\ListCommand::class,
                Console\PurgeCommand::class,
                Console\PauseCommand::class,
                Console\ContinueCommand::class,
                Console\StatusCommand::class,
                Console\SupervisorCommand::class,
                Console\SupervisorsCommand::class,
                Console\TerminateCommand::class,
                Console\TimeoutCommand::class,
                Console\WorkCommand::class,
            ]);
        }

        $this->commands([Console\SnapshotCommand::class]);
    }
protected function registerCommands ( ) { if ( $ this -> app -> runningInConsole ( ) ) { $ this -> commands ( [ Console \ InstallCommand :: class , Console \ AssetsCommand :: class , Console \ HorizonCommand :: class , Console \ ListCommand :: class , Console \ PurgeCommand :: class , Console \ PauseCommand :: class , Console \ ContinueCommand :: class , Console \ StatusCommand :: class , Console \ SupervisorCommand :: class , Console \ SupervisorsCommand :: class , Console \ TerminateCommand :: class , Console \ TimeoutCommand :: class , Console \ WorkCommand :: class , ] ) ; } $ this -> commands ( [ Console \ SnapshotCommand :: class ] ) ; }
Register the Horizon Artisan commands.

@return void
Register the Horizon Artisan commands .