Interface Guzzle\Service\Command\ResponseParserInterface

Implemented byGuzzle\Service\Command\DefaultResponseParser, Guzzle\Service\Command\OperationResponseParser

Parses the HTTP response of a command and sets the appropriate result on a command object

Public Methods

Hide inherited methods

MethodDescriptionDefined By
parse() Parse the HTTP response received by the command and update the command's result contents Guzzle\Service\Command\ResponseParserInterface

Method Details

parse() public abstract method

Parse the HTTP response received by the command and update the command's result contents

public abstract mixed parse ( Guzzle\Service\Command\CommandInterface $command )
$command Guzzle\Service\Command\CommandInterface

Command to parse and update

return mixed

Returns the result to set on the command