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 | string ornull |
null
|
$matchWildcards | bool |
false
|
Return type
array