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

  • AbstractResourceIteratorFactory
  • CompositeResourceIteratorFactory
  • MapResourceIteratorFactory
  • Model
  • ResourceIterator
  • ResourceIteratorApplyBatched
  • ResourceIteratorClassFactory

Interfaces

  • ResourceIteratorFactoryInterface
  • ResourceIteratorInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class CompositeResourceIteratorFactory

Factory that utilizes multiple factories for creating iterators

Guzzle\Service\Resource\CompositeResourceIteratorFactory implements Guzzle\Service\Resource\ResourceIteratorFactoryInterface
Namespace: Guzzle\Service\Resource
Located at src/Guzzle/Service/Resource/CompositeResourceIteratorFactory.php
Methods summary
public
# __construct( array $factories )

Parameters

$factories
Array of factories used to instantiate iterators
public Guzzle\Service\Resource\ResourceIteratorInterface
# build( Guzzle\Service\Command\CommandInterface $command, array $options = array() )

Create a resource iterator

Create a resource iterator

Parameters

$command
Command to create an iterator for
$options
Iterator options that are exposed as data.

Returns

Guzzle\Service\Resource\ResourceIteratorInterface

Implementation of

Guzzle\Service\Resource\ResourceIteratorFactoryInterface::build()
public boolean
# canBuild( Guzzle\Service\Command\CommandInterface $command )

Check if the factory can create an iterator

Check if the factory can create an iterator

Parameters

$command
Command to create an iterator for

Returns

boolean

Implementation of

Guzzle\Service\Resource\ResourceIteratorFactoryInterface::canBuild()
public Guzzle\Service\Resource\CompositeResourceIteratorFactory
# addFactory( Guzzle\Service\Resource\ResourceIteratorFactoryInterface $factory )

Add a factory to the composite factory

Add a factory to the composite factory

Parameters

$factory
Factory to add

Returns

Guzzle\Service\Resource\CompositeResourceIteratorFactory
protected Guzzle\Service\Resource\ResourceIteratorFactoryInterface|boolean
# getFactory( Guzzle\Service\Command\CommandInterface $command )

Get the factory that matches the command object

Get the factory that matches the command object

Parameters

$command
Command retrieving the iterator for

Returns

Guzzle\Service\Resource\ResourceIteratorFactoryInterface|boolean
Properties summary
protected array $factories

Array of factories

Array of factories

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