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