Skip to content

Kirby 5.1.2

$assets->empty()

Clone and remove all elements from the collection

$assets->empty(): Kirby\Plugin\Assets

Return type

Kirby\Plugin\Assets

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