protected function add(SupervisorOptions $options)
    {
        app(HorizonCommandQueue::class)->push(
            MasterSupervisor::commandQueueFor($this->master),
            AddSupervisor::class,
            $options->toArray()
        );
    }
protected function add(SupervisorOptions $options)
    {
        app(HorizonCommandQueue::class)->push(
            MasterSupervisor::commandQueueFor($this->master),
            AddSupervisor::class,
            $options->toArray()
        );
    }
protected function add ( SupervisorOptions $ options ) { app ( HorizonCommandQueue :: class ) -> push ( MasterSupervisor :: commandQueueFor ( $ this -> master ) , AddSupervisor :: class , $ options -> toArray ( ) ) ; }
Add a supervisor with the given options.

@param  \Laravel\Horizon\SupervisorOptions  $options
@return void
Add a supervisor with the given options .