Skip to content

Kirby 5.0.1

F::relativepath()

Returns the relative path of the file starting after $in

F::relativepath(string $file, string|null $in = null): string

Parameters

Name Type Default
$filerequired string no default value
$in stringornull null

Return type

string

Parent class

Kirby\Filesystem\F