Mime::toExtension()
Returns the extension for a given MIME type
Mime::toExtension(string $mime = null): string|false
Parameters
Name | Type | Default |
---|---|---|
$mime | string |
null |
Return type
string
|false
Returns the extension for a given MIME type
Mime::toExtension(string $mime = null): string|false
Name | Type | Default |
---|---|---|
$mime | string |
null |
string
|false