Skip to content

Kirby 5.0.0

F::name()

Extracts the name from a file path or filename without extension

F::name(string $name): string

Parameters

Name Type Default Description
$namerequired string no default value The path or filename

Return type

string

Parent class

Kirby\Filesystem\F