Class MapResourceIteratorFactory
Resource iterator factory used when explicitly mapping strings to iterator classes
- Guzzle\Service\Resource\AbstractResourceIteratorFactory implements Guzzle\Service\Resource\ResourceIteratorFactoryInterface
- Guzzle\Service\Resource\MapResourceIteratorFactory
Namespace: Guzzle\Service\Resource
Located at Guzzle/Service/Resource/MapResourceIteratorFactory.php
Located at Guzzle/Service/Resource/MapResourceIteratorFactory.php
Methods summary
-
public
__construct ( array $map )
-
public
getClassName ( Guzzle\Service\Command\CommandInterface $command )
Get the name of the class to instantiate for the command
Methods detail
Parameters
- $map
array
$map Associative array mapping iterator names to class names
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
Magic methods summary
Properties summary
protected
array
|
$map |
#
Associative array mapping iterator names to class names |