Class HistoryBatch
BatchInterface decorator used to keep a history of items that were added to the batch. You must clear the history manually to remove items from the history.
- Guzzle\Batch\AbstractBatchDecorator implements Guzzle\Batch\BatchInterface
-
Guzzle\Batch\HistoryBatch
Methods summary
-
publicadd ( mixed $item )Add an item to the queue
-
publicgetHistory ( )Get the batch history
-
publicclearHistory ( )Clear the batch history
Methods detail
Add an item to the queue
Parameters
- $item
mixed
$item Item to add
Returns
Overrides
Get the batch history
Returns
arrayClear the batch history
Methods inherited from Guzzle\Batch\AbstractBatchDecorator
__call(),
__construct(),
flush(),
getDecorators(),
isEmpty()
Magic methods summary
Properties summary
protected
array
|
$history |
#
Items in the history |