Interface Guzzle\Service\Resource\ResourceIteratorFactoryInterface

Implemented byGuzzle\Service\Resource\AbstractResourceIteratorFactory, Guzzle\Service\Resource\CompositeResourceIteratorFactory, Guzzle\Service\Resource\MapResourceIteratorFactory, Guzzle\Service\Resource\ResourceIteratorClassFactory

Factory for creating {@see ResourceIteratorInterface} objects

Public Methods

Hide inherited methods

MethodDescriptionDefined By
build() Create a resource iterator Guzzle\Service\Resource\ResourceIteratorFactoryInterface
canBuild() Check if the factory can create an iterator Guzzle\Service\Resource\ResourceIteratorFactoryInterface

Method Details

build() public abstract method

Create a resource iterator

public abstract Guzzle\Service\Resource\ResourceIteratorInterface build ( Guzzle\Service\Command\CommandInterface $command, array $options = [] )
$command Guzzle\Service\Command\CommandInterface

Command to create an iterator for

$options array

Iterator options that are exposed as data.

canBuild() public abstract method

Check if the factory can create an iterator

public abstract bool canBuild ( Guzzle\Service\Command\CommandInterface $command )
$command Guzzle\Service\Command\CommandInterface

Command to create an iterator for