Skip to content

Kirby 5.6.2

$lazyCollection->next()

Moves the cursor to the next element and returns it

Deprecated
$lazyCollection->next(): TValue

Return type

TValue

This method modifies the existing $lazycollection object it is applied to and returns it again.

Parent class

Kirby\Cms\LazyCollection