Skip to content

Kirby 4.1.2

$model->hardcopy()

Creates a clone and fetches all lazy-loaded getters to get a full copy

$model->hardcopy(): Kirby\Cms\Model

Return type

Kirby\Cms\Model

This method does not modify the existing $model object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Cms\Model