Skip to content

Kirby 4.5.0

$file->mime()

Detects the mime type of the file

$file->mime(): string|null

Return type

string|null

Parent class

Kirby\Filesystem\File