summaryrefslogtreecommitdiff
path: root/vendor/guzzle/guzzle/src/Guzzle/Service/Command/ResponseParserInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/guzzle/guzzle/src/Guzzle/Service/Command/ResponseParserInterface.php')
-rw-r--r--vendor/guzzle/guzzle/src/Guzzle/Service/Command/ResponseParserInterface.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/guzzle/guzzle/src/Guzzle/Service/Command/ResponseParserInterface.php b/vendor/guzzle/guzzle/src/Guzzle/Service/Command/ResponseParserInterface.php
new file mode 100644
index 0000000..015f0bb
--- /dev/null
+++ b/vendor/guzzle/guzzle/src/Guzzle/Service/Command/ResponseParserInterface.php
@@ -0,0 +1,18 @@
+<?php
+
+namespace Guzzle\Service\Command;
+
+/**
+ * Parses the HTTP response of a command and sets the appropriate result on a command object
+ */
+interface ResponseParserInterface
+{
+ /**
+ * Parse the HTTP response received by the command and update the command's result contents
+ *
+ * @param CommandInterface $command Command to parse and update
+ *
+ * @return mixed Returns the result to set on the command
+ */
+ public function parse(CommandInterface $command);
+}