Mime::fromMimeContentType()
Returns the MIME type of a file
Mime::fromMimeContentType(string $file): string|false
Parameters
Name | Type | Default |
---|---|---|
$file * | string |
– |
Return type
string
|false
Returns the MIME type of a file
Mime::fromMimeContentType(string $file): string|false
Name | Type | Default |
---|---|---|
$file * | string |
– |
string
|false