Interface Guzzle\Service\Command\LocationVisitor\Request\RequestVisitorInterface

Implemented byGuzzle\Service\Command\LocationVisitor\Request\AbstractRequestVisitor, Guzzle\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

Location visitor used to add values to different locations in a request with different behaviors as needed

Public Methods

Hide inherited methods

MethodDescriptionDefined By
after() Called after visiting all parameters Guzzle\Service\Command\LocationVisitor\Request\RequestVisitorInterface
visit() Called once for each parameter being visited that matches the location type Guzzle\Service\Command\LocationVisitor\Request\RequestVisitorInterface

Method Details

after() public abstract method

Called after visiting all parameters

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

Command being visited

$request Guzzle\Http\Message\RequestInterface

Request being visited

visit() public abstract method

Called once for each parameter being visited that matches the location type

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

Command being visited

$request Guzzle\Http\Message\RequestInterface

Request being visited

$param Guzzle\Service\Description\Parameter

Parameter being visited

$value mixed

Value to set