Skip to content

Kirby 4.4.1

F::filename()

Extracts the filename from a file path

F::filename(string $name): string

Parameters

Name Type Default Description
$name * string The path

Return type

string

Parent class

Kirby\Filesystem\F