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