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
-
public
flush ( )
Flush the batch and transfer the items
-
public
getExceptions ( )
Get the buffered exceptions
-
public
clearExceptions ( )
Clear the buffered exceptions
Methods detail
Flush the batch and transfer the items
Returns
array
Returns an array flushed items
Overrides
Get the buffered exceptions
Returns
array
Array 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 |