\Guzzle\Service\ResourceMapResourceIteratorFactory

Resource iterator factory used when explicitly mapping strings to iterator classes

Summary

Methods
Properties
Constants
build()
canBuild()
getClassName()
__construct()
No public properties found
No constants found
No protected methods found
$map
N/A
No private methods found
No private properties found
N/A

Properties

$map

$map : array

Type

array — Associative array mapping iterator names to class names

Methods

canBuild()

canBuild(\Guzzle\Service\Command\CommandInterface  $command) : boolean

Check if the factory can create an iterator

Parameters

\Guzzle\Service\Command\CommandInterface $command

Command to create an iterator for

Returns

boolean

getClassName()

getClassName(\Guzzle\Service\Command\CommandInterface  $command) : string

Get the name of the class to instantiate for the command

Parameters

\Guzzle\Service\Command\CommandInterface $command

Command that is associated with the iterator

Returns

string

__construct()

__construct(array  $map) 

Parameters

array $map

Associative array mapping iterator names to class names