$timeField->next()
Returns the next item in the collection if available
$timeField->next(TCollection|null $collection = null): TimeField|null
Parameters
| Name | Type | Default |
|---|---|---|
| $collection | TCollectionornull |
null
|
Return types
Kirby\Form\Field\TimeFieldornull
This method does not modify the existing $timefield object but returns a new object with the changes applied. Learn more →
Parent class
Kirby\Form\Field\TimeField
inherited from Kirby\Form\Field