Skip to content

Kirby 4.4.1

$file->mime()

Detects the mime type of the file

$file->mime(): string|null

Return type

string|null

Parent class

Kirby\Filesystem\File