Class ReasonPhraseVisitor
Location visitor used to add the reason phrase of a response to a key in the result
- Guzzle\Service\Command\LocationVisitor\Response\AbstractResponseVisitor implements Guzzle\Service\Command\LocationVisitor\Response\ResponseVisitorInterface
- Guzzle\Service\Command\LocationVisitor\Response\ReasonPhraseVisitor
Namespace: Guzzle\Service\Command\LocationVisitor\Response
Located at Guzzle/Service/Command/LocationVisitor/Response/ReasonPhraseVisitor.php
Located at Guzzle/Service/Command/LocationVisitor/Response/ReasonPhraseVisitor.php
Methods summary
-
public
visit ( Guzzle\Service\Command\CommandInterface $command, Guzzle\Http\Message\Response $response, Guzzle\Service\Description\Parameter $param, mixed & $value, mixed $context = null )
Called once for each parameter being visited that matches the location type
Methods detail
#
public
visit( Guzzle\Service\Command\CommandInterface
$command, Guzzle\Http\Message\Response
$response, Guzzle\Service\Description\Parameter
$param, mixed & $value, mixed $context = null )
Called once for each parameter being visited that matches the location type
Parameters
- $command
Guzzle\Service\Command\CommandInterface
$command Command being visited- $response
Guzzle\Http\Message\Response
$response Response being visited- $param
Guzzle\Service\Description\Parameter
$param Parameter being visited- $value
mixed
$value Result associative array value being updated by reference- $context
mixed
$context Parsing context