\Guzzle\Batch\ExceptionBatchTransferException

Exception thrown during a batch transfer

Summary

Methods
Properties
Constants
__construct()
getBatch()
getTransferredItems()
getTransferStrategy()
getDivisorStrategy()
No public properties found
No constants found
No protected methods found
$batch
$transferStrategy
$divisorStrategy
$transferredItems
N/A
No private methods found
No private properties found
N/A

Properties

$batch

$batch : array

Type

array — The batch being sent when the exception occurred

$transferredItems

$transferredItems : array

Type

array — Items transferred at the point in which the exception was encountered

Methods

__construct()

__construct(array  $batch, array  $transferredItems, \Exception  $exception, \Guzzle\Batch\BatchTransferInterface  $transferStrategy = null, \Guzzle\Batch\BatchDivisorInterface  $divisorStrategy = null) 

Parameters

array $batch

The batch being sent when the exception occurred

array $transferredItems

Items transferred at the point in which the exception was encountered

\Exception $exception

Exception encountered

\Guzzle\Batch\BatchTransferInterface $transferStrategy

The transfer strategy in use when the exception occurred

\Guzzle\Batch\BatchDivisorInterface $divisorStrategy

The divisor strategy in use when the exception occurred

getBatch()

getBatch() : array

Get the batch that we being sent when the exception occurred

Returns

array

getTransferredItems()

getTransferredItems() : array

Get the items transferred at the point in which the exception was encountered

Returns

array