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