Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct (BatchInterface $decoratedBatch, $callable) | |
flush () | |
![]() | |
__call ($method, array $args) | |
__construct (BatchInterface $decoratedBatch) | |
add ($item) | |
getDecorators () | |
isEmpty () | |
Protected Attributes | |
$callable | |
![]() | |
$decoratedBatch | |
BatchInterface decorator used to call a method each time flush is called
Definition at line 10 of file NotifyingBatch.php.
Guzzle\Batch\NotifyingBatch::__construct | ( | BatchInterface | $decoratedBatch, |
$callable | |||
) |
BatchInterface | $decoratedBatch | Batch object to decorate |
mixed | $callable | Callable to call |
InvalidArgumentException |
Definition at line 24 of file NotifyingBatch.php.
References Guzzle\Batch\NotifyingBatch\$callable, and Guzzle\Batch\AbstractBatchDecorator\$decoratedBatch.
Guzzle\Batch\NotifyingBatch::flush | ( | ) |
Flush the batch and transfer the items
Reimplemented from Guzzle\Batch\AbstractBatchDecorator.
Definition at line 34 of file NotifyingBatch.php.
|
protected |
Callable to call
Definition at line 16 of file NotifyingBatch.php.
Referenced by Guzzle\Batch\NotifyingBatch\__construct().