1: <?php
2:
3: namespace Guzzle\Service\Command\LocationVisitor\Response;
4:
5: use Guzzle\Service\Command\CommandInterface;
6: use Guzzle\Http\Message\Response;
7: use Guzzle\Service\Description\Parameter;
8:
9: 10: 11:
12: class BodyVisitor extends AbstractResponseVisitor
13: {
14: 15: 16:
17: public function visit(CommandInterface $command, Response $response, Parameter $param, &$value, $context = null)
18: {
19: $value[$param->getName()] = $param->filter($response->getBody());
20: }
21: }
22: