Skip to content

Kirby 3.6.6

$fileversion->clone()

Creates an instance with the same initial properties.

$fileversion->clone(array $props = [ ]): Kirby\Cms\FileVersion

Parameters

Name Type Default
$props array [ ]

Return type

Kirby\Cms\FileVersion

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

Parent class

Kirby\Cms\FileVersion