$path->first()
Returns the first element
$path->first(): string|null
Return types
stringornull
Parent class
Kirby\Http\Path
inherited from Kirby\Toolkit\Collection
Returns the first element
$path->first(): string|null
stringornull
Kirby\Http\Path
inherited from Kirby\Toolkit\Collection