Open Journal Systems  3.3.0
Guzzle\Service\Command\ResponseParserInterface Interface Reference
Inheritance diagram for Guzzle\Service\Command\ResponseParserInterface:
Guzzle\Service\Command\DefaultResponseParser Guzzle\Service\Command\OperationResponseParser

Public Member Functions

 parse (CommandInterface $command)
 

Detailed Description

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

Definition at line 8 of file ResponseParserInterface.php.

Member Function Documentation

◆ parse()

Guzzle\Service\Command\ResponseParserInterface::parse ( CommandInterface  $command)

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

Parameters
CommandInterface$commandCommand to parse and update
Returns
mixed Returns the result to set on the command

Implemented in Guzzle\Service\Command\DefaultResponseParser.


The documentation for this interface was generated from the following file: