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

Public Member Functions

 __construct ($command)
 

Static Public Member Functions

static fromCommand (OperationCommand $command)
 

Data Fields

 $command
 

Detailed Description

Definition at line 8 of file CustomResponseModel.php.

Constructor & Destructor Documentation

◆ __construct()

Guzzle\Tests\Mock\CustomResponseModel::__construct (   $command)

Member Function Documentation

◆ fromCommand()

static Guzzle\Tests\Mock\CustomResponseModel::fromCommand ( OperationCommand  $command)
static

Create a response model object from a completed command

Parameters
OperationCommand$commandThat serialized the request
Returns
self

Implements Guzzle\Service\Command\ResponseClassInterface.

Definition at line 12 of file CustomResponseModel.php.

References Guzzle\Tests\Mock\CustomResponseModel\$command.

Field Documentation

◆ $command

Guzzle\Tests\Mock\CustomResponseModel::$command

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