menu 8 Menu Overview Mime::fromFileInfo() Returns the MIME type of a file Mime::fromFileInfo(string $file): string|bool Parameters Name Type Default Description $file string – Return type string|bool Source code kirby/src/Toolkit/Mime.php#L176