Skip to content

Kirby 4.4.1

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

Parent class

Kirby\Filesystem\Mime