$user->next()
Returns the next item in the collection if available
$user->next(Kirby\Cms\Users|null $collection = null): Kirby\Cms\User|null
Parameters
| Name | Type | Default |
|---|---|---|
| $collection | Kirby\Cms\Usersornull |
null
|
Return types
Kirby\Cms\Userornull
This method does not modify the existing $user object but returns a new object with the changes applied. Learn more →