Skip to content

Kirby 4.4.1

$languages->clone()

Returns a cloned instance of the collection

$languages->clone(): Kirby\Cms\Languages

Return type

Kirby\Cms\Languages

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

Parent class

Kirby\Cms\Languages inherited from Kirby\Toolkit\Collection