Open Journal Systems
3.3.0
|
Public Member Functions | |
__call ($method, array $args) | |
__construct (BatchInterface $decoratedBatch) | |
add ($item) | |
flush () | |
getDecorators () | |
isEmpty () | |
Protected Attributes | |
$decoratedBatch | |
Abstract decorator used when decorating a BatchInterface
Definition at line 8 of file AbstractBatchDecorator.php.
Guzzle\Batch\AbstractBatchDecorator::__construct | ( | BatchInterface | $decoratedBatch | ) |
BatchInterface | $decoratedBatch | BatchInterface that is being decorated |
Definition at line 19 of file AbstractBatchDecorator.php.
References Guzzle\Batch\AbstractBatchDecorator\$decoratedBatch.
Guzzle\Batch\AbstractBatchDecorator::__call | ( | $method, | |
array | $args | ||
) |
Allow decorators to implement custom methods
string | $method | Missing method name |
array | $args | Method arguments |
Definition at line 33 of file AbstractBatchDecorator.php.
Guzzle\Batch\AbstractBatchDecorator::add | ( | $item | ) |
Add an item to the queue
mixed | $item | Item to add |
Implements Guzzle\Batch\BatchInterface.
Reimplemented in Guzzle\Batch\FlushingBatch, and Guzzle\Batch\HistoryBatch.
Definition at line 38 of file AbstractBatchDecorator.php.
Referenced by Guzzle\Tests\Batch\NotifyingBatchTest\testNotifiesAfterFlush().
Guzzle\Batch\AbstractBatchDecorator::flush | ( | ) |
Flush the batch and transfer the items
Implements Guzzle\Batch\BatchInterface.
Reimplemented in Guzzle\Batch\NotifyingBatch, and Guzzle\Batch\ExceptionBufferingBatch.
Definition at line 45 of file AbstractBatchDecorator.php.
Guzzle\Batch\AbstractBatchDecorator::getDecorators | ( | ) |
Trace the decorators associated with the batch
Definition at line 60 of file AbstractBatchDecorator.php.
Guzzle\Batch\AbstractBatchDecorator::isEmpty | ( | ) |
Check if the batch is empty and has further items to transfer
Implements Guzzle\Batch\BatchInterface.
Definition at line 50 of file AbstractBatchDecorator.php.
|
protected |
Decorated batch object
Definition at line 14 of file AbstractBatchDecorator.php.
Referenced by Guzzle\Batch\AbstractBatchDecorator\__construct(), Guzzle\Batch\NotifyingBatch\__construct(), and Guzzle\Batch\FlushingBatch\__construct().