Skip to content

Kirby 4.4.1

$items->clone()

Returns a cloned instance of the collection

$items->clone(): Kirby\Cms\Items

Return type

Kirby\Cms\Items

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

Parent class

Kirby\Cms\Items inherited from Kirby\Toolkit\Collection