Skip to content

Kirby 4.1.2

$users->empty()

Clone and remove all elements from the collection

$users->empty(): Kirby\Cms\Users

Return type

Kirby\Cms\Users

This method does not modify the existing $users object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Cms\Users inherited from Kirby\Toolkit\Collection