| 1 | <?php |
||
| 4 | class ParsedHeaders |
||
| 5 | { |
||
| 6 | /** |
||
| 7 | * @var array |
||
| 8 | */ |
||
| 9 | private $acceptableMIMETypes; |
||
| 10 | private $APIKey; |
||
| 11 | private $contentType; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * ParsedHeader constructor. |
||
| 15 | * @param $contentType |
||
| 16 | * @param array $acceptableMIMETypes |
||
| 17 | * @param $APIKey |
||
| 18 | */ |
||
| 19 | 6 | public function __construct($contentType, array $acceptableMIMETypes, $APIKey) |
|
| 25 | |||
| 26 | 2 | public function getContentType() |
|
| 30 | |||
| 31 | 1 | public function getAcceptableMIMETypes(): array |
|
| 35 | |||
| 36 | 3 | public function getAPIKey() |
|
| 40 | } |
||
| 41 |