Skip to content

Kirby 4.1.2

Mime::fromFileInfo()

Returns the MIME type of a file

Mime::fromFileInfo(string $file): string|false

Parameters

Name Type Default
$file * string

Return type

string|false

Parent class

Kirby\Filesystem\Mime