diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2019-11-17 20:45:02 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2019-11-17 20:45:02 +0100 |
commit | 8df3db566a3a937b45ebf11adb90d265e6f5e2d4 (patch) | |
tree | 4d541098d751d5a9acf8c12f6fb9f308ace066ac /vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorFactoryInterface.php | |
download | flyspray-8df3db566a3a937b45ebf11adb90d265e6f5e2d4.tar.xz |
initial checking of customized version 1.0rc9
Diffstat (limited to 'vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorFactoryInterface.php')
-rw-r--r-- | vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorFactoryInterface.php | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorFactoryInterface.php b/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorFactoryInterface.php new file mode 100644 index 0000000..8b4e8db --- /dev/null +++ b/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorFactoryInterface.php @@ -0,0 +1,30 @@ +<?php + +namespace Guzzle\Service\Resource; + +use Guzzle\Service\Command\CommandInterface; + +/** + * Factory for creating {@see ResourceIteratorInterface} objects + */ +interface ResourceIteratorFactoryInterface +{ + /** + * Create a resource iterator + * + * @param CommandInterface $command Command to create an iterator for + * @param array $options Iterator options that are exposed as data. + * + * @return ResourceIteratorInterface + */ + public function build(CommandInterface $command, array $options = array()); + + /** + * Check if the factory can create an iterator + * + * @param CommandInterface $command Command to create an iterator for + * + * @return bool + */ + public function canBuild(CommandInterface $command); +} |