Skip to content

Kirby 5.0.4

$immutableMemoryStorage->nextModel()

Returns the next state of the model if the reference is given

$immutableMemoryStorage->nextModel(): Kirby\Cms\ModelWithContent|null

Return types

Kirby\Cms\ModelWithContentornull

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

Parent class

Kirby\Content\ImmutableMemoryStorage