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

Classes

  • AbstractBatchDecorator
  • Batch
  • BatchBuilder
  • BatchClosureDivisor
  • BatchClosureTransfer
  • BatchCommandTransfer
  • BatchRequestTransfer
  • BatchSizeDivisor
  • ExceptionBufferingBatch
  • FlushingBatch
  • HistoryBatch
  • NotifyingBatch

Interfaces

  • BatchDivisorInterface
  • BatchInterface
  • BatchTransferInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class AbstractBatchDecorator

Abstract decorator used when decorating a BatchInterface

Guzzle\Batch\AbstractBatchDecorator implements Guzzle\Batch\BatchInterface

Direct known subclasses

Guzzle\Batch\ExceptionBufferingBatch, Guzzle\Batch\FlushingBatch, Guzzle\Batch\HistoryBatch, Guzzle\Batch\NotifyingBatch
Abstract
Namespace: Guzzle\Batch
Located at src/Guzzle/Batch/AbstractBatchDecorator.php
Methods summary
public
# __construct( Guzzle\Batch\BatchInterface $decoratedBatch )

Parameters

$decoratedBatch
BatchInterface that is being decorated
public mixed
# __call( string $method, array $args )

Allow decorators to implement custom methods

Allow decorators to implement custom methods

Parameters

$method
Missing method name
$args
Method arguments

Returns

mixed

Codecoverageignore

public Guzzle\Batch\AbstractBatchDecorator
# add( mixed $item )

Add an item to the queue

Add an item to the queue

Parameters

$item
Item to add

Returns

Guzzle\Batch\AbstractBatchDecorator

Implementation of

Guzzle\Batch\BatchInterface::add()
public array
# flush( )

Flush the batch and transfer the items

Flush the batch and transfer the items

Returns

array
Returns an array flushed items

Implementation of

Guzzle\Batch\BatchInterface::flush()
public boolean
# isEmpty( )

Check if the batch is empty and has further items to transfer

Check if the batch is empty and has further items to transfer

Returns

boolean

Implementation of

Guzzle\Batch\BatchInterface::isEmpty()
public array
# getDecorators( )

Trace the decorators associated with the batch

Trace the decorators associated with the batch

Returns

array
Properties summary
protected Guzzle\Batch\BatchInterface $decoratedBatch

Decorated batch object

Decorated batch object

#
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen