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 ResourceIteratorClassFactory

Factory for creating Guzzle\Service\Resource\ResourceIteratorInterface objects using a convention of storing iterator classes under a root namespace using the name of a Guzzle\Service\Command\CommandInterface object as a convention for determining the name of an iterator class. The command name is converted to CamelCase and Iterator is appended (e.g. abc_foo => AbcFoo).

Guzzle\Service\Resource\AbstractResourceIteratorFactory implements Guzzle\Service\Resource\ResourceIteratorFactoryInterface
Extended by Guzzle\Service\Resource\ResourceIteratorClassFactory
Namespace: Guzzle\Service\Resource
Located at src/Guzzle/Service/Resource/ResourceIteratorClassFactory.php
Methods summary
public
# __construct( string|array $namespaces = array(), Guzzle\Inflection\InflectorInterface $inflector = null )

Parameters

$namespaces
List of namespaces for iterator objects
$inflector
Inflector used to resolve class names
public Guzzle\Service\Resource\ResourceIteratorClassFactory
# registerNamespace( string $namespace )

Registers a namespace to check for Iterators

Registers a namespace to check for Iterators

Parameters

$namespace
Namespace which contains Iterator classes

Returns

Guzzle\Service\Resource\ResourceIteratorClassFactory
protected string
# getClassName( Guzzle\Service\Command\CommandInterface $command )

Get the name of the class to instantiate for the command

Get the name of the class to instantiate for the command

Parameters

$command
Command that is associated with the iterator

Returns

string
Methods inherited from Guzzle\Service\Resource\AbstractResourceIteratorFactory
build(), canBuild()
Properties summary
protected array $namespaces

List of namespaces used to look for classes

List of namespaces used to look for classes

#
protected Guzzle\Inflection\InflectorInterface $inflector

Inflector used to determine class names

Inflector used to determine class names

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