Skip to content

Kirby 4.5.0

$path->key()

Returns the current key

$path->key(): string|int|null

Return type

string|int|null

Parent class

Kirby\Http\Path inherited from Kirby\Toolkit\Iterator