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