Class Guzzle\Service\Command\LocationVisitor\Response\HeaderVisitor

InheritanceGuzzle\Service\Command\LocationVisitor\Response\HeaderVisitor » Guzzle\Service\Command\LocationVisitor\Response\AbstractResponseVisitor
ImplementsGuzzle\Service\Command\LocationVisitor\Response\ResponseVisitorInterface

Location visitor used to add a particular header of a response to a key in the result

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
processPrefixedHeaders() Process a prefixed header array Guzzle\Service\Command\LocationVisitor\Response\HeaderVisitor

Method Details

processPrefixedHeaders() protected method

Process a prefixed header array

protected void processPrefixedHeaders ( Guzzle\Http\Message\Response $response, Guzzle\Service\Description\Parameter $param, &$value )
$response Guzzle\Http\Message\Response

Response that contains the headers

$param Guzzle\Service\Description\Parameter

Parameter object

$value array

Value response array to modify

visit() public method

public void visit ( Guzzle\Service\Command\CommandInterface $command, Guzzle\Http\Message\Response $response, Guzzle\Service\Description\Parameter $param, &$value, $context null )
$command
$response
$param
$value
$context