class
Illuminate
/
Process
/
Pool
Pool
Properties
protected
$callback callable
The callback that resolves the pending processes.
Default: null
protected
$pendingProcesses array
The array of pending processes.
Default: []
Methods
public
__construct ( Factory $factory , callable $callback ) : void
Create a new process pool.
Parameters
- $factory Factory
- $callback callable
public
as ( string $key ) : PendingProcess
Add a process to the pool with a key.
Parameters
- $key string
public
start ( callable $output ) : InvokedProcessPool
Start all of the processes in the pool.
Parameters
- $output callable|null
public
__call ( $method , $parameters ) : PendingProcess
Dynamically proxy methods calls to a new pending process.
Parameters
- $method string
- $parameters array