Skip to content

Kirby 4.5.0

F::name()

Extracts the name from a file path or filename without extension

F::name(string $name): string

Parameters

Name Type Default Description
$name * string The path or filename

Return type

string

Parent class

Kirby\Filesystem\F