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
Parent class
Kirby\Content\MemoryStorage
inherited from Kirby\Content\Storage