Class NotifyingBatch
BatchInterface decorator used to call a method each time flush is called
- Guzzle\Batch\AbstractBatchDecorator implements Guzzle\Batch\BatchInterface
- Guzzle\Batch\NotifyingBatch
Methods summary
-
public
__construct ( Guzzle\Batch\BatchInterface $decoratedBatch, mixed $callable )
-
public
flush ( )
Flush the batch and transfer the items
Methods detail
Parameters
- $decoratedBatch
Guzzle\Batch\BatchInterface
$decoratedBatch Batch object to decorate- $callable
mixed
$callable Callable to call
Throws
Overrides
Flush the batch and transfer the items
Returns
array
Returns an array flushed items
Overrides
Methods inherited from Guzzle\Batch\AbstractBatchDecorator
__call()
,
add()
,
getDecorators()
,
isEmpty()
Magic methods summary
Properties summary
protected
mixed
|
$callable |
#
Callable to call |