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