diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2019-11-17 20:45:02 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2019-11-17 20:45:02 +0100 |
commit | 8df3db566a3a937b45ebf11adb90d265e6f5e2d4 (patch) | |
tree | 4d541098d751d5a9acf8c12f6fb9f308ace066ac /vendor/guzzle/guzzle/tests/Guzzle/Tests/Mock/CustomResponseModel.php | |
download | flyspray-8df3db566a3a937b45ebf11adb90d265e6f5e2d4.tar.xz |
initial checking of customized version 1.0rc9
Diffstat (limited to 'vendor/guzzle/guzzle/tests/Guzzle/Tests/Mock/CustomResponseModel.php')
-rw-r--r-- | vendor/guzzle/guzzle/tests/Guzzle/Tests/Mock/CustomResponseModel.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/guzzle/guzzle/tests/Guzzle/Tests/Mock/CustomResponseModel.php b/vendor/guzzle/guzzle/tests/Guzzle/Tests/Mock/CustomResponseModel.php new file mode 100644 index 0000000..3fb6527 --- /dev/null +++ b/vendor/guzzle/guzzle/tests/Guzzle/Tests/Mock/CustomResponseModel.php @@ -0,0 +1,21 @@ +<?php + +namespace Guzzle\Tests\Mock; + +use Guzzle\Service\Command\ResponseClassInterface; +use Guzzle\Service\Command\OperationCommand; + +class CustomResponseModel implements ResponseClassInterface +{ + public $command; + + public static function fromCommand(OperationCommand $command) + { + return new self($command); + } + + public function __construct($command) + { + $this->command = $command; + } +} |