Skip to content

Kirby 5.0.0

$file->mime()

Detects the mime type of the file

$file->mime(): string|null

Return types

stringornull

Parent class

Kirby\Filesystem\File