Skip to content

Kirby 4.1.2

$blocks->clone()

Returns a cloned instance of the collection

$blocks->clone(): Kirby\Cms\Blocks

Return type

Kirby\Cms\Blocks

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

Parent class

Kirby\Cms\Blocks inherited from Kirby\Toolkit\Collection