\Guzzle\Service\CommandDefaultRequestSerializer

Default request serializer that transforms command options and operation parameters into a request

Summary

Methods
Properties
Constants
getInstance()
__construct()
addVisitor()
prepare()
No public properties found
No constants found
prepareAdditionalParameters()
createRequest()
$factory
$instance
N/A
No private methods found
No private properties found
N/A

Properties

$instance

$instance : self

Type

self

Methods

getInstance()

getInstance() : self

Returns

self

prepareAdditionalParameters()

prepareAdditionalParameters(\Guzzle\Service\Description\OperationInterface  $operation, \Guzzle\Service\Command\CommandInterface  $command, \Guzzle\Http\Message\RequestInterface  $request, \Guzzle\Service\Description\Parameter  $additional) : null|\Guzzle\Service\Command\LocationVisitor\Request\RequestVisitorInterface

Serialize additional parameters

Parameters

\Guzzle\Service\Description\OperationInterface $operation

Operation that owns the command

\Guzzle\Service\Command\CommandInterface $command

Command to prepare

\Guzzle\Http\Message\RequestInterface $request

Request to serialize

\Guzzle\Service\Description\Parameter $additional

Additional parameters

Returns

null|\Guzzle\Service\Command\LocationVisitor\Request\RequestVisitorInterface