Open Monograph Press  3.3.0
CustomResponseModel.php
1 <?php
2 
3 namespace Guzzle\Tests\Mock;
4 
7 
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