| 1 | <?php declare(strict_types = 1); |
||
| 13 | class Response |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | private $contentType; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | private $content; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Response constructor. |
||
| 27 | * |
||
| 28 | * @param string $contentType |
||
| 29 | * @param string $content |
||
| 30 | */ |
||
| 31 | public function __construct(string $contentType, string $content) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | public function getContentType(): string |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | public function getContent(): string |
||
| 52 | } |
||
| 53 |