Skip to content

Kirby 6.0.0

$areas->clone()

Returns a cloned instance of the collection

$areas->clone(): Areas

Return type

Kirby\Panel\Areas

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

Parent class

Kirby\Panel\Areas inherited from Kirby\Toolkit\Collection