menu 8 Menu Overview Mime::fromSvg() Tries to detect a valid SVG and returns the MIME type accordingly Mime::fromSvg(string $file): string|bool Parameters Name Type Default Description $file string – Return type string|bool Source code kirby/src/Toolkit/Mime.php#L209