Skip to content

Kirby 3.7.5

$asset->hardcopy()

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

$asset->hardcopy(): Kirby\Filesystem\Asset

Return type

Kirby\Filesystem\Asset

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

Parent class

Kirby\Filesystem\Asset