$path->key() Returns the current key kirby/src/Toolkit/Iterator.php#L44 $path->key(): string|int|null Return type string|int|null Parent class Kirby\Http\Path inherited from Kirby\Toolkit\Iterator