$visitor->preferredMimeType()
Returns the MIME type from the provided list that is most accepted (= preferred) by the visitor
Parameters
Name | Type | Default | Description |
---|---|---|---|
$mimeTypes | string |
null |
MIME types to query for |
Return type
string
|null