Merx

$cart->empty()

Clone and remove all elements from the collection

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

Return type

Kirby\Toolkit\Collection

Parent class

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