Skip to content

Kirby 6.0.0

$areas->empty()

Clone and remove all elements from the collection

$areas->empty(): Areas

Return type

Kirby\Panel\Areas

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