Skip to content

Kirby 5.0.4

ImmutableMemoryStorage::from()

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

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

Parameters

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

Return type

Kirby\Content\ImmutableMemoryStorage

Parent class

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