Open Journal Systems  3.3.0
Guzzle\Service\Command\ResponseClassInterface Interface Reference
Inheritance diagram for Guzzle\Service\Command\ResponseClassInterface:
Guzzle\Tests\Mock\CustomResponseModel

Static Public Member Functions

static fromCommand (OperationCommand $command)
 

Detailed Description

Interface used to accept a completed OperationCommand and parse the result into a specific response type

Definition at line 8 of file ResponseClassInterface.php.

Member Function Documentation

◆ fromCommand()

static Guzzle\Service\Command\ResponseClassInterface::fromCommand ( OperationCommand  $command)
static

Create a response model object from a completed command

Parameters
OperationCommand$commandThat serialized the request
Returns
self

Implemented in Guzzle\Tests\Mock\CustomResponseModel.


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