Skip to content

Kirby 4.5.0

$segments->current()

Returns the current element

$segments->current(): mixed|null

Return type

mixed|null

Parent class

Kirby\Query\Segments inherited from Kirby\Toolkit\Iterator