$immutableMemoryStorage->nextModel()
Returns the next state of the model if the reference is given
$immutableMemoryStorage->nextModel(): Kirby\Cms\ModelWithContent|null
Return types
Kirby\Cms\ModelWithContent
ornull
This method modifies the existing $immutablememorystorage
object it is applied to and returns it again.