| 1 | <?php declare(strict_types=1); |
||
| 7 | class Guzzle5RequestAdapter implements RequestAdapterInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var Request |
||
| 11 | */ |
||
| 12 | private $request; |
||
| 13 | |||
| 14 | 1 | public function __construct(Request $request) |
|
| 18 | |||
| 19 | 1 | public function getMethod(): string |
|
| 23 | |||
| 24 | 1 | public function getUri(): string |
|
| 28 | |||
| 29 | 1 | public function getContent(): string |
|
| 35 | |||
| 36 | 1 | public function getHeader(string $key): ?string |
|
| 42 | } |
||
| 43 |