$immutableMemoryStorage->copy()
Copies content from one version-language combination to another
$immutableMemoryStorage->copy(VersionId $fromVersionId, Language $fromLanguage, VersionId|null $toVersionId = null, Language|null $toLanguage = null, Storage|null $toStorage = null): void
Parameters
| Name | Type | Default |
|---|---|---|
| $fromVersionIdrequired | Kirby\Content\VersionId |
no default value |
| $fromLanguagerequired | Kirby\Cms\Language |
no default value |
| $toVersionId | Kirby\Content\VersionIdornull |
null
|
| $toLanguage | Kirby\Cms\Languageornull |
null
|
| $toStorage | Kirby\Content\Storageornull |
null
|
Parent class
Kirby\Content\ImmutableMemoryStorage
inherited from Kirby\Content\Storage