\GuzzleHttp\Command\Guzzle\RequestLocationRequestLocationInterface

Handles locations specified in a service description

Summary

Methods
Constants
visit()
after()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

visit()

visit(\GuzzleHttp\Command\CommandInterface  $command, \Psr\Http\Message\RequestInterface  $request, \GuzzleHttp\Command\Guzzle\Parameter  $param) : \Psr\Http\Message\RequestInterface

Visits a location for each top-level parameter

Parameters

\GuzzleHttp\Command\CommandInterface $command

Command being prepared

\Psr\Http\Message\RequestInterface $request

Request being modified

\GuzzleHttp\Command\Guzzle\Parameter $param

Parameter being visited

Returns

\Psr\Http\Message\RequestInterface —

Modified request

after()

after(\GuzzleHttp\Command\CommandInterface  $command, \Psr\Http\Message\RequestInterface  $request, \GuzzleHttp\Command\Guzzle\Operation  $operation) : \Psr\Http\Message\RequestInterface

Called when all of the parameters of a command have been visited.

Parameters

\GuzzleHttp\Command\CommandInterface $command

Command being prepared

\Psr\Http\Message\RequestInterface $request

Request being modified

\GuzzleHttp\Command\Guzzle\Operation $operation

Operation being serialized

Returns

\Psr\Http\Message\RequestInterface —

Modified request