Skip to content

Kirby 4.5.0

$collection->current()

Returns the current element

$collection->current(): mixed|null

Return type

mixed|null

Parent class

Kirby\Blueprint\Collection inherited from Kirby\Toolkit\Iterator