Skip to content

Kirby 5.0.4

$memoryStorage->model()

Returns the related model

$memoryStorage->model(): Kirby\Cms\ModelWithContent

Return type

Kirby\Cms\ModelWithContent

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

Parent class

Kirby\Content\MemoryStorage inherited from Kirby\Content\Storage