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