Abstract Class Guzzle\Batch\AbstractBatchDecorator

InheritanceGuzzle\Batch\AbstractBatchDecorator
ImplementsGuzzle\Batch\BatchInterface
SubclassesGuzzle\Batch\ExceptionBufferingBatch, Guzzle\Batch\FlushingBatch, Guzzle\Batch\HistoryBatch, Guzzle\Batch\NotifyingBatch

Abstract decorator used when decorating a BatchInterface

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$decoratedBatch Guzzle\Batch\BatchInterface Decorated batch object Guzzle\Batch\AbstractBatchDecorator

Property Details

$decoratedBatch protected property

Decorated batch object

Method Details

__call() public method

Allow decorators to implement custom methods

public mixed __call ( $method, array $args )
$method string

Missing method name

$args array

Method arguments

__construct() public method

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

BatchInterface that is being decorated

add() public method

public void add ( $item )
$item
flush() public method

public void flush ( )
getDecorators() public method

Trace the decorators associated with the batch

public array getDecorators ( )
isEmpty() public method

public void isEmpty ( )