Merx

$productList->empty()

Clone and remove all elements from the collection

$productList->empty(): Kirby\Toolkit\Collection

Return type

Kirby\Toolkit\Collection

Parent class

Wagnerwagner\Merx\ProductList inherited from Kirby\Toolkit\Collection