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
stringorfalse
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 |
stringorfalse