Skip to content

Kirby 5.0.4

MemoryStorage::from()

Creates a new storage instance with all the versions from the given storage instance.

MemoryStorage::from(Kirby\Content\MemoryStorage $fromStorage): Kirby\Content\MemoryStorage

Parameters

Name Type Default
$fromStoragerequired Kirby\Content\MemoryStorage no default value

Return type

Kirby\Content\MemoryStorage

Parent class

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