new PageCopy()
new PageCopy() 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.
new PageCopy(Page $copy, Page|null $original = null, bool $withFiles = false, bool $withChildren = false, array $uuids = [])
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $copyrequired | Kirby\Cms\Page |
no default value | |
| $original | Kirby\Cms\Pageornull |
null
|
|
| $withFiles | bool |
false
|
|
| $withChildren | bool |
false
|
|
| $uuids | array<string, string> |
[]
|
Tracked UUID changes (old => new) |