Skip to content

Kirby 4.4.1

$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