Skip to content

Kirby 5.0.4

Storage::from()

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

Storage::from() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.

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

Parameters

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

Return type

Kirby\Content\Storage

Parent class

Kirby\Content\Storage