$file->extension() Returns the current lowercase extension (without .) kirby/src/Filesystem/File.php#L177 $file->extension(): string Return type string Parent class Kirby\Filesystem\File