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