$segments->key()
Returns the current key
$segments->key(): string|int|null
Return type
string
|int
|null
Parent class
Kirby\Query\Segments
inherited from Kirby\Toolkit\Iterator
Returns the current key
$segments->key(): string|int|null
string
|int
|null
Kirby\Query\Segments
inherited from Kirby\Toolkit\Iterator