Open Journal Systems  3.3.0
Guzzle\Service\Resource\ResourceIteratorFactoryInterface Interface Reference
Inheritance diagram for Guzzle\Service\Resource\ResourceIteratorFactoryInterface:
Guzzle\Service\Resource\AbstractResourceIteratorFactory Guzzle\Service\Resource\CompositeResourceIteratorFactory Guzzle\Service\Resource\MapResourceIteratorFactory Guzzle\Service\Resource\ResourceIteratorClassFactory

Public Member Functions

 build (CommandInterface $command, array $options=array())
 
 canBuild (CommandInterface $command)
 

Detailed Description

Factory for creating {

See also
ResourceIteratorInterface} objects

Definition at line 10 of file ResourceIteratorFactoryInterface.php.

Member Function Documentation

◆ build()

Guzzle\Service\Resource\ResourceIteratorFactoryInterface::build ( CommandInterface  $command,
array  $options = array() 
)

Create a resource iterator

Parameters
CommandInterface$commandCommand to create an iterator for
array$optionsIterator options that are exposed as data.
Returns
ResourceIteratorInterface

Implemented in Guzzle\Service\Resource\CompositeResourceIteratorFactory, and Guzzle\Service\Resource\AbstractResourceIteratorFactory.

◆ canBuild()

Guzzle\Service\Resource\ResourceIteratorFactoryInterface::canBuild ( CommandInterface  $command)

Check if the factory can create an iterator

Parameters
CommandInterface$commandCommand to create an iterator for
Returns
bool

Implemented in Guzzle\Service\Resource\CompositeResourceIteratorFactory, and Guzzle\Service\Resource\AbstractResourceIteratorFactory.


The documentation for this interface was generated from the following file: