Class ExceptionBufferingBatch
BatchInterface decorator used to buffer exceptions encountered during a transfer. The exceptions can then later be processed after a batch flush has completed.
- Guzzle\Batch\AbstractBatchDecorator implements Guzzle\Batch\BatchInterface
-
Guzzle\Batch\ExceptionBufferingBatch
Methods summary
-
publicflush ( )Flush the batch and transfer the items
-
publicgetExceptions ( )Get the buffered exceptions
-
publicclearExceptions ( )Clear the buffered exceptions
Methods detail
Flush the batch and transfer the items
Returns
arrayReturns an array flushed items
Overrides
Get the buffered exceptions
Returns
arrayArray of BatchTransferException objects
Clear the buffered exceptions
Methods inherited from Guzzle\Batch\AbstractBatchDecorator
__call(),
__construct(),
add(),
getDecorators(),
isEmpty()
Magic methods summary
Properties summary
protected
array
|
$exceptions |
#
Array of BatchTransferException exceptions |