$factories
$factories : array
Factory that utilizes multiple factories for creating iterators
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 |
addFactory(\Guzzle\Service\Resource\ResourceIteratorFactoryInterface $factory) : self
Add a factory to the composite factory
\Guzzle\Service\Resource\ResourceIteratorFactoryInterface | $factory | Factory to add |
getFactory(\Guzzle\Service\Command\CommandInterface $command) : \Guzzle\Service\Resource\ResourceIteratorFactoryInterface|boolean
Get the factory that matches the command object
\Guzzle\Service\Command\CommandInterface | $command | Command retrieving the iterator for |