Skip to content

Kirby 4.1.2

$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