| 1 | <?php |
||
| 10 | class APIResponse |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | protected $MIMEType; |
||
| 16 | /** |
||
| 17 | * @var StreamInterface |
||
| 18 | */ |
||
| 19 | protected $stream; |
||
| 20 | |||
| 21 | 3 | public function __construct(string $MIMEType, StreamInterface $stream) |
|
| 26 | |||
| 27 | 3 | public function getMIMEType(): string { |
|
| 30 | |||
| 31 | /** |
||
| 32 | * @return StreamInterface |
||
| 33 | */ |
||
| 34 | 3 | public function getAsDataStream(): StreamInterface { |
|
| 37 | |||
| 38 | } |
||
| 39 |