Skip to content

Kirby 6.0.0

ImmutableMemoryStorage::from()

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

ImmutableMemoryStorage::from(Storage $fromStorage): ImmutableMemoryStorage

Parameters

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

Return type

Kirby\Content\ImmutableMemoryStorage

Parent class

Kirby\Content\ImmutableMemoryStorage inherited from Kirby\Content\Storage