PHP Class Laravel\Envoy\ParallelSSH

Inheritance: extends Laravel\Envoy\RemoteProcessor, use trait ConfigurationParser
Show file Open project: laravel/envoy

Public Methods

Method Description
run ( Task $task, Closure $callback = null ) : void Run the given task over SSH.

Protected Methods

Method Description
areRunning ( array $processes ) : boolean Determine if any of the processes are running.
gatherOutput ( array $processes, Closure $callback ) : void Gather the output from all of the processes.
startProcesses ( array $processes ) : void Start all of the processes.

Method Details

areRunning() protected method

Determine if any of the processes are running.
protected areRunning ( array $processes ) : boolean
$processes array
return boolean

gatherOutput() protected method

Gather the output from all of the processes.
protected gatherOutput ( array $processes, Closure $callback ) : void
$processes array
$callback Closure
return void

run() public method

Run the given task over SSH.
public run ( Task $task, Closure $callback = null ) : void
$task Task
$callback Closure
return void

startProcesses() protected method

Start all of the processes.
protected startProcesses ( array $processes ) : void
$processes array
return void