Class AbstractResourceIteratorFactory
Abstract resource iterator factory implementation
- Guzzle\Service\Resource\AbstractResourceIteratorFactory implements Guzzle\Service\Resource\ResourceIteratorFactoryInterface
Direct known subclasses
Guzzle\Service\Resource\MapResourceIteratorFactory
,
Guzzle\Service\Resource\ResourceIteratorClassFactory
Abstract
Namespace: Guzzle\Service\Resource
Located at Guzzle/Service/Resource/AbstractResourceIteratorFactory.php
Namespace: Guzzle\Service\Resource
Located at Guzzle/Service/Resource/AbstractResourceIteratorFactory.php
Methods summary
-
public
build ( Guzzle\Service\Command\CommandInterface $command, array $options = array() )
Create a resource iterator
-
public
canBuild ( Guzzle\Service\Command\CommandInterface $command )
Check if the factory can create an iterator
-
abstract protected
getClassName ( Guzzle\Service\Command\CommandInterface $command )
Get the name of the class to instantiate for the command
Methods detail
#
public
Guzzle\Service\Resource\ResourceIteratorInterface
build( Guzzle\Service\Command\CommandInterface
$command, array $options = array() )
Create a resource iterator
Parameters
- $command
Guzzle\Service\Command\CommandInterface
$command Command to create an iterator for- $options
array
$options Iterator options that are exposed as data.
Returns
Implementation of
Check if the factory can create an iterator
Parameters
- $command
Guzzle\Service\Command\CommandInterface
$command Command to create an iterator for
Returns
boolean
Implementation of
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