Overview

Namespaces

  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
    • Tests
      • Batch
      • Cache
      • Common
        • Cache
        • Exception
      • Http
        • Curl
        • Exception
        • Message
          • Header
      • Inflection
      • Iterator
      • Log
      • Message
      • Mock
      • Parser
        • Cookie
        • Message
      • Parsers
        • UriTemplate
      • Plugin
        • Async
        • Backoff
        • Cache
        • Cookie
          • CookieJar
        • CurlAuth
        • ErrorResponse
        • History
        • Log
        • Md5
        • Mock
        • Oauth
        • Redirect
      • Service
        • Builder
        • Command
          • LocationVisitor
            • Request
            • Response
        • Description
        • Exception
        • Mock
          • Command
            • Sub
          • Model
        • Resource
      • Stream
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • VivaPayments
      • Message
  • PHP

Exceptions

  • BatchTransferException
  • Overview
  • Namespace
  • Class
  • Tree

Class BatchTransferException

Exception thrown during a batch transfer

Exception implements Throwable
Extended by Guzzle\Batch\Exception\BatchTransferException implements Guzzle\Common\Exception\GuzzleException
Namespace: Guzzle\Batch\Exception
Located at src/Guzzle/Batch/Exception/BatchTransferException.php
Methods summary
public
# __construct( array $batch, array $transferredItems, Exception $exception, Guzzle\Batch\BatchTransferInterface $transferStrategy = null, Guzzle\Batch\BatchDivisorInterface $divisorStrategy = null )

Parameters

$batch
The batch being sent when the exception occurred
$transferredItems
Items transferred at the point in which the exception was encountered
$exception
Exception encountered
$transferStrategy
The transfer strategy in use when the exception occurred
$divisorStrategy
The divisor strategy in use when the exception occurred

Overrides

Exception::__construct()
public array
# getBatch( )

Get the batch that we being sent when the exception occurred

Get the batch that we being sent when the exception occurred

Returns

array
public array
# getTransferredItems( )

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

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

Returns

array
public Guzzle\Batch\BatchTransferInterface
# getTransferStrategy( )

Get the transfer strategy

Get the transfer strategy

Returns

Guzzle\Batch\BatchTransferInterface
public Guzzle\Batch\BatchDivisorInterface
# getDivisorStrategy( )

Get the divisor strategy

Get the divisor strategy

Returns

Guzzle\Batch\BatchDivisorInterface
Methods inherited from Exception
__toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Properties summary
protected array $batch

The batch being sent when the exception occurred

The batch being sent when the exception occurred

#
protected Guzzle\Batch\BatchTransferInterface $transferStrategy

The transfer strategy in use when the exception occurred

The transfer strategy in use when the exception occurred

#
protected Guzzle\Batch\BatchDivisorInterface $divisorStrategy

The divisor strategy in use when the exception occurred

The divisor strategy in use when the exception occurred

#
protected array $transferredItems

Items transferred at the point in which the exception was encountered

Items transferred at the point in which the exception was encountered

#
Properties inherited from Exception
$code, $file, $line, $message
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen