Open Journal Systems
3.3.0
|
Public Member Functions | |
build (CommandInterface $command, array $options=array()) | |
canBuild (CommandInterface $command) | |
Protected Member Functions | |
getClassName (CommandInterface $command) | |
Abstract resource iterator factory implementation
Definition at line 11 of file AbstractResourceIteratorFactory.php.
Guzzle\Service\Resource\AbstractResourceIteratorFactory::build | ( | CommandInterface | $command, |
array | $options = array() |
||
) |
Create a resource iterator
CommandInterface | $command | Command to create an iterator for |
array | $options | Iterator options that are exposed as data. |
Implements Guzzle\Service\Resource\ResourceIteratorFactoryInterface.
Definition at line 13 of file AbstractResourceIteratorFactory.php.
References Guzzle\Service\Resource\AbstractResourceIteratorFactory\canBuild(), Guzzle\Service\Resource\AbstractResourceIteratorFactory\getClassName(), and Guzzle\Service\Command\CommandInterface\getName().
Guzzle\Service\Resource\AbstractResourceIteratorFactory::canBuild | ( | CommandInterface | $command | ) |
Check if the factory can create an iterator
CommandInterface | $command | Command to create an iterator for |
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().
|
abstractprotected |
Get the name of the class to instantiate for the command
CommandInterface | $command | Command that is associated with the iterator |
Reimplemented in Guzzle\Service\Resource\ResourceIteratorClassFactory, and Guzzle\Service\Resource\MapResourceIteratorFactory.
Referenced by Guzzle\Service\Resource\AbstractResourceIteratorFactory\build(), and Guzzle\Service\Resource\AbstractResourceIteratorFactory\canBuild().