$collection->key() Returns the current key kirby/src/Toolkit/Iterator.php#L53 $collection->key(): string Return type string Parent class Kirby\Toolkit\Collection inherited from Kirby\Toolkit\Iterator