1 | <?php |
||
9 | class ContentTypeMatcher |
||
10 | { |
||
11 | /** |
||
12 | * @param string $fullContentType |
||
13 | * @param array $supportedContentTypes Can be `something/something`, `something/*` or `*` to allow all |
||
14 | * @return bool |
||
15 | */ |
||
16 | 45 | public function isContentTypeSupported(string $fullContentType, array $supportedContentTypes): bool |
|
42 | |||
43 | 45 | private function removeDirectives(string $fullContentType): string |
|
47 | } |
||
48 |