Class AwsQueryVisitor
Location visitor used to serialize AWS query parameters (e.g. EC2, SES, SNS, SQS, etc) as POST fields
- Guzzle\Service\Command\LocationVisitor\Request\AbstractRequestVisitor implements Guzzle\Service\Command\LocationVisitor\Request\RequestVisitorInterface
-
Aws\Common\Command\AwsQueryVisitor
Methods summary
-
public
visit ( Guzzle\Service\Command\CommandInterface $command, Guzzle\Http\Message\RequestInterface $request, Guzzle\Service\Description\Parameter $param, mixed $value )
-
protected
customResolver ( array $value, Guzzle\Service\Description\Parameter $param, array & $query, string $prefix = '' )
Map nested parameters into the location_key based parameters
-
protected
resolveObject ( Guzzle\Service\Description\Parameter $param, array $value, string $prefix, array & $query )
Custom handling for objects
-
protected
resolveArray ( Guzzle\Service\Description\Parameter $param, array $value, string $prefix, array & $query )
Custom handling for arrays
Methods detail
#
public
visit( Guzzle\Service\Command\CommandInterface
$command, Guzzle\Http\Message\RequestInterface
$request, Guzzle\Service\Description\Parameter
$param, mixed $value )
Parameters
- $command
Guzzle\Service\Command\CommandInterface
$command Command being visited- $request
Guzzle\Http\Message\RequestInterface
$request Request being visited- $param
Guzzle\Service\Description\Parameter
$param Parameter being visited- $value
mixed
$value Value to set
CodeCoverageIgnore
Overrides
#
protected
customResolver( array $value, Guzzle\Service\Description\Parameter
$param, array & $query, string $prefix = '' )
Map nested parameters into the location_key based parameters
Parameters
- $value
array
$value Value to map- $param
Guzzle\Service\Description\Parameter
$param Parameter that holds information about the current key- $query
array
$query Built up query string values- $prefix
string
$prefix String to prepend to sub query values
#
protected
resolveObject( Guzzle\Service\Description\Parameter
$param, array $value, string $prefix, array & $query )
Custom handling for objects
Parameters
- $param
Guzzle\Service\Description\Parameter
$param Parameter for the object- $value
array
$value Value that is set for this parameter- $prefix
string
$prefix Prefix for the resulting key- $query
array
$query Query string array passed by reference
#
protected
resolveArray( Guzzle\Service\Description\Parameter
$param, array $value, string $prefix, array & $query )
Custom handling for arrays
Parameters
- $param
Guzzle\Service\Description\Parameter
$param Parameter for the object- $value
array
$value Value that is set for this parameter- $prefix
string
$prefix Prefix for the resulting key- $query
array
$query Query string array passed by reference
Methods inherited from Guzzle\Service\Command\LocationVisitor\Request\AbstractRequestVisitor
after()
,
prepareValue()
,
resolveRecursively()