Class Guzzle\Batch\NotifyingBatch

InheritanceGuzzle\Batch\NotifyingBatch » Guzzle\Batch\AbstractBatchDecorator

BatchInterface decorator used to call a method each time flush is called

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$callable mixed Callable to call Guzzle\Batch\NotifyingBatch
$decoratedBatch Guzzle\Batch\BatchInterface Decorated batch object Guzzle\Batch\AbstractBatchDecorator

Property Details

$callable protected property

Callable to call

protected mixed $callable null

Method Details

__construct() public method

public void __construct ( Guzzle\Batch\BatchInterface $decoratedBatch, $callable )
$decoratedBatch Guzzle\Batch\BatchInterface

Batch object to decorate

$callable mixed

Callable to call

throws Guzzle\Common\Exception\InvalidArgumentException
flush() public method

public void flush ( )