Skip to content

Kirby 4.1.2

$structure->clone()

Returns a cloned instance of the collection

$structure->clone(): Kirby\Cms\Structure

Return type

Kirby\Cms\Structure

This method modifies the existing $structure object it is applied to and returns it again.

Parent class

Kirby\Cms\Structure inherited from Kirby\Toolkit\Collection