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

Public Member Functions

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

Protected Member Functions

 getClassName (CommandInterface $command)
 

Detailed Description

Abstract resource iterator factory implementation

Definition at line 11 of file AbstractResourceIteratorFactory.php.

Member Function Documentation

◆ build()

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

◆ canBuild()

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

Check if the factory can create an iterator

Parameters
CommandInterface$commandCommand to create an iterator for
Returns
bool

Implements Guzzle\Service\Resource\ResourceIteratorFactoryInterface.

Definition at line 24 of file AbstractResourceIteratorFactory.php.

References Guzzle\Service\Resource\AbstractResourceIteratorFactory\getClassName().

Referenced by Guzzle\Service\Resource\AbstractResourceIteratorFactory\build().

◆ getClassName()

Guzzle\Service\Resource\AbstractResourceIteratorFactory::getClassName ( CommandInterface  $command)
abstractprotected

Get the name of the class to instantiate for the command

Parameters
CommandInterface$commandCommand that is associated with the iterator
Returns
string

Reimplemented in Guzzle\Service\Resource\ResourceIteratorClassFactory, and Guzzle\Service\Resource\MapResourceIteratorFactory.

Referenced by Guzzle\Service\Resource\AbstractResourceIteratorFactory\build(), and Guzzle\Service\Resource\AbstractResourceIteratorFactory\canBuild().


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