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