Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($namespaces=array(), InflectorInterface $inflector=null) | |
registerNamespace ($namespace) | |
![]() | |
build (CommandInterface $command, array $options=array()) | |
canBuild (CommandInterface $command) | |
Protected Member Functions | |
getClassName (CommandInterface $command) | |
Protected Attributes | |
$inflector | |
$namespaces | |
Factory for creating {
Definition at line 14 of file ResourceIteratorClassFactory.php.
Guzzle\Service\Resource\ResourceIteratorClassFactory::__construct | ( | $namespaces = array() , |
|
InflectorInterface | $inflector = null |
||
) |
string | array | $namespaces | List of namespaces for iterator objects |
InflectorInterface | $inflector | Inflector used to resolve class names |
Definition at line 32 of file ResourceIteratorClassFactory.php.
References Guzzle\Service\Resource\ResourceIteratorClassFactory\$inflector, Guzzle\Service\Resource\ResourceIteratorClassFactory\$namespaces, and Guzzle\Inflection\Inflector\getDefault().
|
protected |
Get the name of the class to instantiate for the command
CommandInterface | $command | Command that is associated with the iterator |
Reimplemented from Guzzle\Service\Resource\AbstractResourceIteratorFactory.
Definition at line 52 of file ResourceIteratorClassFactory.php.
References Guzzle\Service\Command\CommandInterface\getName().
Guzzle\Service\Resource\ResourceIteratorClassFactory::registerNamespace | ( | $namespace | ) |
Registers a namespace to check for Iterators
string | $namespace | Namespace which contains Iterator classes |
Definition at line 45 of file ResourceIteratorClassFactory.php.
|
protected |
Inflector used to determine class names
Definition at line 26 of file ResourceIteratorClassFactory.php.
Referenced by Guzzle\Service\Resource\ResourceIteratorClassFactory\__construct().
|
protected |
List of namespaces used to look for classes
Definition at line 20 of file ResourceIteratorClassFactory.php.
Referenced by Guzzle\Service\Resource\ResourceIteratorClassFactory\__construct().