1: <?php
2:
3: namespace Guzzle\Service\Command;
4:
5: /**
6: * Parses the HTTP response of a command and sets the appropriate result on a command object
7: */
8: interface ResponseParserInterface
9: {
10: /**
11: * Parse the HTTP response received by the command and update the command's result contents
12: *
13: * @param CommandInterface $command Command to parse and update
14: *
15: * @return mixed Returns the result to set on the command
16: */
17: public function parse(CommandInterface $command);
18: }
19: