Skip to content

Kirby 4.2.0

$path->current()

Returns the current element

$path->current(): mixed|null

Return type

mixed|null

Parent class

Kirby\Http\Path inherited from Kirby\Toolkit\Iterator