Class Batch
Default batch implementation used to convert queued items into smaller chunks
of batches using a BatchDivisorIterface and transfers each batch using a
Guzzle\Batch\BatchTransferInterface
.
Any exception encountered during a flush operation will throw a Guzzle\Batch\Exception\BatchTransferException
object containing the batch that failed. After an
exception is encountered, you can flush the batch again to attempt to finish
transferring any previously created batches or queued items.
- Guzzle\Batch\Batch implements Guzzle\Batch\BatchInterface
public
|
#
__construct(
|
public
|
|
public
array
|
|
public
boolean
|
|
protected
|
protected
|
$queue |
|
#
Queue of items in the queue |
protected
array
|
$dividedBatches |
|
#
Divided batches to be transferred |
protected
|
$transferStrategy |
|
|
protected
|
$divisionStrategy |
|