PlainTextStorage::from()
Creates a new storage instance with all the versions from the given storage instance.
PlainTextStorage::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.
PlainTextStorage::from(Kirby\Content\PlainTextStorage $fromStorage): Kirby\Content\PlainTextStorage
Parameters
Name | Type | Default |
---|---|---|
$fromStoragerequired | Kirby\Content\PlainTextStorage |
no default value |
Return type
Kirby\Content\PlainTextStorage
Parent class
Kirby\Content\PlainTextStorage
inherited from Kirby\Content\Storage