Skip to content

Kirby 4.2.0

$collection->current()

Returns the current element

$collection->current(): mixed|null

Return type

mixed|null

Parent class

Kirby\Cms\Collection inherited from Kirby\Toolkit\Iterator