Mime::type()
Returns the MIME type of a file
Parameters
Name | Type | Default |
---|---|---|
$file * | string |
– |
$extension | string |null |
null |
Return type
string
|null
Returns the MIME type of a file
Name | Type | Default |
---|---|---|
$file * | string |
– |
$extension | string |null |
null |
string
|null