Mime::toExtensions()
Returns all available extensions for a given MIME type
Mime::toExtensions(string|null $mime = null, bool $matchWildcards = false): array
Parameters
| Name | Type | Default |
|---|---|---|
| $mime | stringornull |
null
|
| $matchWildcards | bool |
false
|
Return type
array