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