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