$areas->empty()
Clone and remove all elements from the collection
$areas->empty(): Areas
Return type
This method does not modify the existing $areas object but returns a new object with the changes applied. Learn more →
Parent class
Kirby\Panel\Areas
inherited from Kirby\Toolkit\Collection