diff options
Diffstat (limited to 'vendor/guzzle/guzzle/src/Guzzle/Service/Command/RequestSerializerInterface.php')
-rw-r--r-- | vendor/guzzle/guzzle/src/Guzzle/Service/Command/RequestSerializerInterface.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/guzzle/guzzle/src/Guzzle/Service/Command/RequestSerializerInterface.php b/vendor/guzzle/guzzle/src/Guzzle/Service/Command/RequestSerializerInterface.php new file mode 100644 index 0000000..60b9334 --- /dev/null +++ b/vendor/guzzle/guzzle/src/Guzzle/Service/Command/RequestSerializerInterface.php @@ -0,0 +1,21 @@ +<?php + +namespace Guzzle\Service\Command; + +use Guzzle\Http\Message\RequestInterface; +use Guzzle\Service\Command\CommandInterface; + +/** + * Translates command options and operation parameters into a request object + */ +interface RequestSerializerInterface +{ + /** + * Create a request for a command + * + * @param CommandInterface $command Command that will own the request + * + * @return RequestInterface + */ + public function prepare(CommandInterface $command); +} |