$assets->clone()
Returns a cloned instance of the collection
$assets->clone(): Kirby\Plugin\Assets
Return type
This method does not modify the existing $assets
object but returns a new object with the changes applied. Learn more →
Parent class
Kirby\Plugin\Assets
inherited from Kirby\Toolkit\Collection