$factory
$factory : \Guzzle\Service\Command\LocationVisitor\VisitorFlyweight
Default request serializer that transforms command options and operation parameters into a request
$factory : \Guzzle\Service\Command\LocationVisitor\VisitorFlyweight
__construct(\Guzzle\Service\Command\LocationVisitor\VisitorFlyweight $factory)
\Guzzle\Service\Command\LocationVisitor\VisitorFlyweight | $factory | Factory to use when creating visitors |
addVisitor(string $location, \Guzzle\Service\Command\LocationVisitor\Request\RequestVisitorInterface $visitor) : self
Add a location visitor to the serializer
string | $location | Location to associate with the visitor |
\Guzzle\Service\Command\LocationVisitor\Request\RequestVisitorInterface | $visitor | Visitor to attach |
prepare(\Guzzle\Service\Command\CommandInterface $command) : \Guzzle\Http\Message\RequestInterface
Create a request for a command
\Guzzle\Service\Command\CommandInterface | $command | Command that will own the request |
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
\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 |
createRequest(\Guzzle\Service\Command\CommandInterface $command) : \Guzzle\Http\Message\RequestInterface
Create a request for the command and operation
\Guzzle\Service\Command\CommandInterface | $command | Command to create a request for |