Overview

Namespaces

  • Contrib
    • Bundle
      • CoverallsBundle
        • Console
        • Entity
      • CoverallsV1Bundle
        • Api
        • Collector
        • Command
        • Config
        • Entity
          • Git
    • Component
      • File
      • Log
      • System
        • Git
  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
      • 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
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Config
        • Definition
          • Builder
          • Exception
        • Exception
        • Loader
        • Resource
        • Util
      • Console
        • Command
        • Formatter
        • Helper
        • Input
        • Output
        • Tester
      • EventDispatcher
        • Debug
      • Finder
        • Adapter
        • Comparator
        • Exception
        • Expression
        • Iterator
        • Shell
      • Stopwatch
      • Yaml
        • Exception

Classes

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

Interfaces

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

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 Guzzle/Service/Resource/ResourceIteratorClassFactory.php
Methods summary
public
# __construct( string|array $namespaces = array(), Guzzle\Inflection\InflectorInterface $inflector = null )

Parameters

$namespaces
string|array
$namespaces List of namespaces for iterator objects
$inflector
Guzzle\Inflection\InflectorInterface
$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
string
$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
Guzzle\Service\Command\CommandInterface
$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

php-coveralls API documentation generated by ApiGen 2.8.0