Метод | Описание | |
---|---|---|
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 |
Результат | Spork\Batch\BatchJob | A new batch job instance |
public createFork ( integer $pid, |
||
$pid | integer | Process id |
$shm | Shared memory | |
$debug | boolean | Debug mode |
Результат | A new fork instance |