AWS SDK for PHP
  • Namespace
  • Class
  • Tree
  • Download

Namespaces

  • Aws
    • AutoScaling
      • Enum
      • Exception
    • CloudFormation
      • Enum
      • Exception
    • CloudFront
      • Enum
      • Exception
    • CloudFront_2012_05_05
    • CloudHsm
      • Exception
    • CloudSearch
      • Enum
      • Exception
    • CloudSearch_2011_02_01
    • CloudSearchDomain
      • Exception
    • CloudTrail
      • Exception
    • CloudWatch
      • Enum
      • Exception
    • CloudWatchLogs
      • Exception
    • CodeCommit
      • Exception
    • CodeDeploy
      • Exception
    • CodePipeline
      • Exception
    • CognitoIdentity
      • Exception
    • CognitoSync
      • Exception
    • Common
      • Client
      • Command
      • Credentials
      • Enum
      • Exception
        • Parser
      • Hash
      • InstanceMetadata
        • Waiter
      • Iterator
      • Model
        • MultipartUpload
      • Signature
      • Waiter
    • ConfigService
      • Exception
    • DataPipeline
      • Enum
      • Exception
    • DeviceFarm
      • Exception
    • DirectConnect
      • Enum
      • Exception
    • DirectoryService
      • Exception
    • DynamoDb
      • Enum
      • Exception
      • Model
        • BatchRequest
      • Session
        • LockingStrategy
    • DynamoDb_2011_12_05
    • DynamoDbStreams
      • Exception
    • Ec2
      • Enum
      • Exception
      • Iterator
    • Ecs
      • Exception
    • Efs
      • Exception
    • ElastiCache
      • Enum
      • Exception
    • ElasticBeanstalk
      • Enum
      • Exception
    • ElasticFileSystem
    • ElasticLoadBalancing
      • Exception
    • ElasticTranscoder
      • Exception
    • Emr
      • Enum
      • Exception
    • Glacier
      • Enum
      • Exception
      • Model
        • MultipartUpload
    • Iam
      • Enum
      • Exception
    • ImportExport
      • Enum
      • Exception
    • Kinesis
      • Enum
      • Exception
    • Kms
      • Exception
    • Lambda
      • Exception
    • MachineLearning
      • Exception
    • OpsWorks
      • Enum
      • Exception
    • Rds
      • Enum
      • Exception
    • Redshift
      • Enum
      • Exception
    • Route53
      • Enum
      • Exception
    • Route53Domains
      • Exception
    • S3
      • Command
      • Enum
      • Exception
        • Parser
      • Iterator
      • Model
        • MultipartUpload
      • Sync
    • Ses
      • Enum
      • Exception
    • SimpleDb
      • Exception
    • Sns
      • Exception
      • MessageValidator
        • Exception
    • Sqs
      • Enum
      • Exception
    • Ssm
      • Exception
    • StorageGateway
      • Enum
      • Exception
    • Sts
      • Exception
    • Support
      • Exception
    • Swf
      • Enum
      • Exception
    • WorkSpaces
      • Exception
  • 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
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
  • PHP

Classes

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

Interfaces

  • ResourceIteratorFactoryInterface
  • ResourceIteratorInterface
NOTE: For Version 3 of the AWS SDK for PHP, please see the V3 User Guide and V3 API Reference.

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 )
  • public registerNamespace ( string $namespace )

    Registers a namespace to check for Iterators

  • protected getClassName ( Guzzle\Service\Command\CommandInterface $command )

    Get the name of the class to instantiate for the command

Methods detail

# 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

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

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()

Magic methods summary

Properties summary

protected array $namespaces
#

List of namespaces used to look for classes

protected Guzzle\Inflection\InflectorInterface $inflector
#

Inflector used to determine class names

AWS SDK for PHP API documentation generated by ApiGen 2.8.0