$namespaces
$namespaces : array
Factory for creating {@see ResourceIteratorInterface} objects using a convention of storing iterator classes under a root namespace using the name of a {@see 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).
$inflector : \Guzzle\Inflection\InflectorInterface
build(\Guzzle\Service\Command\CommandInterface $command, array $options = array()) : \Guzzle\Service\Resource\ResourceIteratorInterface
Create a resource iterator
\Guzzle\Service\Command\CommandInterface | $command | Command to create an iterator for |
array | $options | Iterator options that are exposed as data. |
canBuild(\Guzzle\Service\Command\CommandInterface $command) : boolean
Check if the factory can create an iterator
\Guzzle\Service\Command\CommandInterface | $command | Command to create an iterator for |
__construct(string|array $namespaces = array(), \Guzzle\Inflection\InflectorInterface $inflector = null)
string|array | $namespaces | List of namespaces for iterator objects |
\Guzzle\Inflection\InflectorInterface | $inflector | Inflector used to resolve class names |
getClassName(\Guzzle\Service\Command\CommandInterface $command) : string
Get the name of the class to instantiate for the command
\Guzzle\Service\Command\CommandInterface | $command | Command that is associated with the iterator |