Open Journal Systems
3.3.0
|
Public Member Functions | |
createBatches (\SplQueue $queue) | |
Interface used for dividing a queue of items into an array of batches
Definition at line 8 of file BatchDivisorInterface.php.
Guzzle\Batch\BatchDivisorInterface::createBatches | ( | \SplQueue | $queue | ) |
Divide a queue of items into an array batches
\SplQueue | $queue | Queue of items to divide into batches. Items are removed as they are iterated. |
Implemented in Guzzle\Batch\BatchSizeDivisor, Guzzle\Batch\BatchClosureDivisor, Guzzle\Batch\BatchRequestTransfer, and Guzzle\Batch\BatchCommandTransfer.