Skip to content

Kirby 3.8.4

$collection->clone()

Returns a cloned instance of the collection

$collection->clone(): Kirby\Blueprint\Collection

Return type

Kirby\Blueprint\Collection

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

Parent class

Kirby\Blueprint\Collection inherited from Kirby\Toolkit\Collection