Skip to content

Kirby 5.0.4

$fieldsets->clone()

Returns a cloned instance of the collection

$fieldsets->clone(): Kirby\Cms\Fieldsets

Return type

Kirby\Cms\Fieldsets

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

Parent class

Kirby\Cms\Fieldsets inherited from Kirby\Toolkit\Collection