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