Abstract Class Guzzle\Service\Command\LocationVisitor\Request\AbstractRequestVisitor

InheritanceGuzzle\Service\Command\LocationVisitor\Request\AbstractRequestVisitor
ImplementsGuzzle\Service\Command\LocationVisitor\Request\RequestVisitorInterface
SubclassesGuzzle\Service\Command\LocationVisitor\Request\BodyVisitor, Guzzle\Service\Command\LocationVisitor\Request\HeaderVisitor, Guzzle\Service\Command\LocationVisitor\Request\JsonVisitor, Guzzle\Service\Command\LocationVisitor\Request\PostFieldVisitor, Guzzle\Service\Command\LocationVisitor\Request\PostFileVisitor, Guzzle\Service\Command\LocationVisitor\Request\QueryVisitor, Guzzle\Service\Command\LocationVisitor\Request\ResponseBodyVisitor, Guzzle\Service\Command\LocationVisitor\Request\XmlVisitor

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
prepareValue() Prepare (filter and set desired name for request item) the value for request. Guzzle\Service\Command\LocationVisitor\Request\AbstractRequestVisitor
resolveRecursively() Map nested parameters into the location_key based parameters Guzzle\Service\Command\LocationVisitor\Request\AbstractRequestVisitor

Method Details

after() public method

public void after ( Guzzle\Service\Command\CommandInterface $command, Guzzle\Http\Message\RequestInterface $request )
$command
$request
prepareValue() protected method

Prepare (filter and set desired name for request item) the value for request.

protected array|mixed prepareValue ( $value, Guzzle\Service\Description\Parameter $param )
$value mixed
$param Guzzle\Service\Description\Parameter
resolveRecursively() protected method

Map nested parameters into the location_key based parameters

protected array resolveRecursively ( array $value, Guzzle\Service\Description\Parameter $param )
$value array

Value to map

$param Guzzle\Service\Description\Parameter

Parameter that holds information about the current key

return array

Returns the mapped array

visit() public method

public void visit ( Guzzle\Service\Command\CommandInterface $command, Guzzle\Http\Message\RequestInterface $request, Guzzle\Service\Description\Parameter $param, $value )
$command
$request
$param
$value