Skip to content

Kirby 4.5.0

$path->prev()

Moves the cursor to the previous element and returns it

$path->prev(): mixed|null

Return type

mixed|null

Parent class

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