Mime::fromSvg()
Tries to detect a valid SVG and returns the MIME type accordingly
Mime::fromSvg(string $file): string|false
Parameters
Name | Type | Default |
---|---|---|
$filerequired | string |
no default value |
Return types
string
orfalse
Tries to detect a valid SVG and returns the MIME type accordingly
Mime::fromSvg(string $file): string|false
Name | Type | Default |
---|---|---|
$filerequired | string |
no default value |
string
orfalse