public function toSupervisorOptions()
    {
        return collect($this->plan)->mapWithKeys(function ($plan, $environment) {
            return [$environment => collect($plan)->mapWithKeys(function ($options, $supervisor) {
                return [$supervisor => $this->convert($supervisor, $options)];
            })];
        })->all();
    }
public function toSupervisorOptions()
    {
        return collect($this->plan)->mapWithKeys(function ($plan, $environment) {
            return [$environment => collect($plan)->mapWithKeys(function ($options, $supervisor) {
                return [$supervisor => $this->convert($supervisor, $options)];
            })];
        })->all();
    }
public function toSupervisorOptions ( ) { return collect ( $ this -> plan ) -> mapWithKeys ( function ( $ plan , $ environment ) { return [ $ environment => collect ( $ plan ) -> mapWithKeys ( function ( $ options , $ supervisor ) { return [ $ supervisor => $ this -> convert ( $ supervisor , $ options ) ] ; } ) ] ; } ) -> all ( ) ; }
Convert the provisioning plan into an array of SupervisorOptions.

@return array
Convert the provisioning plan into an array of SupervisorOptions .