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

Interface BatchInterface

Interface for efficiently transferring items in a queue using batches

Direct known implementers

Guzzle\Batch\AbstractBatchDecorator, Guzzle\Batch\Batch

Indirect known implementers

Guzzle\Batch\ExceptionBufferingBatch, Guzzle\Batch\FlushingBatch, Guzzle\Batch\HistoryBatch, Guzzle\Batch\NotifyingBatch
Namespace: Guzzle\Batch
Located at src/Guzzle/Batch/BatchInterface.php
Methods summary
public Guzzle\Batch\BatchInterface
# add( mixed $item )

Add an item to the queue

Add an item to the queue

Parameters

$item
Item to add

Returns

Guzzle\Batch\BatchInterface
public array
# flush( )

Flush the batch and transfer the items

Flush the batch and transfer the items

Returns

array
Returns an array flushed items
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
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen