Class Guzzle\Service\Command\LocationVisitor\Response\XmlVisitor

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

Location visitor used to marshal XML response data into a formatted array

Method Details

before() public method

public void before ( Guzzle\Service\Command\CommandInterface $command, array &$result )
$command
$result
processArray() protected method

Process an array

protected void processArray ( Guzzle\Service\Description\Parameter $param, &$value )
$param Guzzle\Service\Description\Parameter

API parameter being parsed

$value mixed

Value to process

processObject() protected method

Process an object

protected void processObject ( Guzzle\Service\Description\Parameter $param, &$value )
$param Guzzle\Service\Description\Parameter

API parameter being parsed

$value mixed

Value to process

processXmlAttribute() protected method

Process an XML attribute property

protected void processXmlAttribute ( Guzzle\Service\Description\Parameter $property, array &$value )
$property Guzzle\Service\Description\Parameter

Property to process

$value array

Value to process and update

recursiveProcess() protected method

Recursively process a parameter while applying filters

protected void recursiveProcess ( Guzzle\Service\Description\Parameter $param, &$value )
$param Guzzle\Service\Description\Parameter

API parameter being processed

$value mixed

Value to validate and process. The value may change during this process.

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