Skip to content

Kirby 5.1.2

$options->key()

Returns the current key

$options->key(): string|int|null

Return types

stringorintornull

This method modifies the existing $options object it is applied to and returns it again.

Parent class

Kirby\Option\Options inherited from Kirby\Toolkit\Iterator