public function deploy($environment)
    {
        $supervisors = collect($this->parsed)->first(function ($_, $name) use ($environment) {
            return Str::is($name, $environment);
        });

        if (empty($supervisors)) {
            return;
        }

        foreach ($supervisors as $supervisor => $options) {
            $this->add($options);
        }
    }
public function deploy($environment)
    {
        $supervisors = collect($this->parsed)->first(function ($_, $name) use ($environment) {
            return Str::is($name, $environment);
        });

        if (empty($supervisors)) {
            return;
        }

        foreach ($supervisors as $supervisor => $options) {
            $this->add($options);
        }
    }
public function deploy ( $ environment ) { $ supervisors = collect ( $ this -> parsed ) -> first ( function ( $ _ , $ name ) use ( $ environment ) { return Str :: is ( $ name , $ environment ) ; } ) ; if ( empty ( $ supervisors ) ) { return ; } foreach ( $ supervisors as $ supervisor => $ options ) { $ this -> add ( $ options ) ; } }
Deploy a provisioning plan to the current machine.

@param  string  $environment
@return void
Deploy a provisioning plan to the current machine .