$orderPage->changeStorage()
Moves or copies the model to a new storage instance/type
$orderPage->changeStorage(Kirby\Content\Storage|string $toStorage, bool $copy = false): Kirby\Cms\ModelWithContent
Parameters
| Name | Type | Default |
|---|---|---|
$toStorage |
Kirby\Content\Storage or string |
- |
$copy |
bool |
false |
Return type
Parent class
Wagnerwagner\Merx\OrderPage inherited from Kirby\Cms\ModelWithContent