Open Monograph Press
3.3.0
CustomResponseModel.php
1
<?php
2
3
namespace
Guzzle\Tests\Mock
;
4
5
use
Guzzle\Service\Command\ResponseClassInterface
;
6
use
Guzzle\Service\Command\OperationCommand
;
7
8
class
CustomResponseModel
implements
ResponseClassInterface
9
{
10
public
$command
;
11
12
public
static
function
fromCommand
(
OperationCommand
$command
)
13
{
14
return
new
self
(
$command
);
15
}
16
17
public
function
__construct
(
$command
)
18
{
19
$this->command =
$command
;
20
}
21
}
Guzzle\Tests\Mock\CustomResponseModel\$command
$command
Definition:
CustomResponseModel.php:10
Guzzle\Service\Command\ResponseClassInterface
Definition:
ResponseClassInterface.php:8
Guzzle\Service\Command\OperationCommand
Definition:
OperationCommand.php:10
Guzzle\Tests\Mock\CustomResponseModel
Definition:
CustomResponseModel.php:8
Guzzle\Tests\Mock\CustomResponseModel\fromCommand
static fromCommand(OperationCommand $command)
Definition:
CustomResponseModel.php:12
Guzzle\Tests\Mock
Definition:
CustomResponseModel.php:3
Guzzle\Tests\Mock\CustomResponseModel\__construct
__construct($command)
Definition:
CustomResponseModel.php:17
plugins
paymethod
paypal
lib
vendor
guzzle
guzzle
tests
Guzzle
Tests
Mock
CustomResponseModel.php
Generated on Fri Aug 28 2020 14:52:00 for Open Monograph Press by
1.8.17