public function process(MasterSupervisor $master, array $options)
    {
        $options = SupervisorOptions::fromArray($options);

        $master->supervisors[] = new SupervisorProcess(
            $options, $this->createProcess($master, $options), function ($type, $line) use ($master) {
                $master->output($type, $line);
            }
        );
    }
public function process(MasterSupervisor $master, array $options)
    {
        $options = SupervisorOptions::fromArray($options);

        $master->supervisors[] = new SupervisorProcess(
            $options, $this->createProcess($master, $options), function ($type, $line) use ($master) {
                $master->output($type, $line);
            }
        );
    }
public function process ( MasterSupervisor $ master , array $ options ) { $ options = SupervisorOptions :: fromArray ( $ options ) ; $ master -> supervisors [ ] = new SupervisorProcess ( $ options , $ this -> createProcess ( $ master , $ options ) , function ( $ type , $ line ) use ( $ master ) { $ master -> output ( $ type , $ line ) ; } ) ; }
Process the command.

@param  \Laravel\Horizon\MasterSupervisor  $master
@param  array  $options
@return void
Process the command .