Skip to content

Kirby 4.1.2

$file->mime()

Detects the mime type of the file

$file->mime(): string|null

Return type

string|null

Parent class

Kirby\Filesystem\File