1: <?php
2:
3: namespace Guzzle\Service\Command\LocationVisitor\Request;
4:
5: use Guzzle\Http\Message\RequestInterface;
6: use Guzzle\Service\Command\CommandInterface;
7: use Guzzle\Service\Description\Parameter;
8:
9: 10: 11:
12: class QueryVisitor extends AbstractRequestVisitor
13: {
14: 15: 16:
17: public function visit(CommandInterface $command, RequestInterface $request, Parameter $param, $value)
18: {
19: $request->getQuery()->set($param->getWireName(), $this->prepareValue($value, $param));
20: }
21: }
22: