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