$assets->empty()
Clone and remove all elements from the collection
$assets->empty(): 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