Method | Description | |
---|---|---|
createBatchJob ( |
Creates a new batch job instance. | |
createFork ( integer $pid, |
Creates a new fork instance. | |
createSharedMemory ( integer $pid = null, integer $signal = null ) : |
Creates a new shared memory instance. |
public createBatchJob ( |
||
$manager | The process manager | |
$data | null | Data for the batch job |
$strategy | Spork\Batch\Strategy\StrategyInterface | The strategy |
return | Spork\Batch\BatchJob | A new batch job instance |
public createFork ( integer $pid, |
||
$pid | integer | Process id |
$shm | Shared memory | |
$debug | boolean | Debug mode |
return | A new fork instance |