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
-
public
add ( mixed $item )
Add an item to the queue
-
public
getHistory ( )
Get the batch history
-
public
clearHistory ( )
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
array
Clear 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 |