Mime::fromSvg()
Tries to detect a valid SVG and returns the MIME type accordingly
Mime::fromSvg(string $file): string|false
Parameters
Name | Type | Default |
---|---|---|
$file * | string |
– |
Return type
string
|false
Tries to detect a valid SVG and returns the MIME type accordingly
Mime::fromSvg(string $file): string|false
Name | Type | Default |
---|---|---|
$file * | string |
– |
string
|false