protected function processPendingCommands()
    {
        foreach (app(HorizonCommandQueue::class)->pending($this->commandQueue()) as $command) {
            app($command->command)->process($this, $command->options);
        }
    }
protected function processPendingCommands()
    {
        foreach (app(HorizonCommandQueue::class)->pending($this->commandQueue()) as $command) {
            app($command->command)->process($this, $command->options);
        }
    }
protected function processPendingCommands ( ) { foreach ( app ( HorizonCommandQueue :: class ) -> pending ( $ this -> commandQueue ( ) ) as $ command ) { app ( $ command -> command ) -> process ( $ this , $ command -> options ) ; } }
Handle any pending commands for the master supervisor.

@return void
Handle any pending commands for the master supervisor .