$cart->extend()
Adds all elements to a cloned collection
$cart->extend($items): Kirby\Toolkit\Collection
Parameters
| Name | Type | Default |
|---|---|---|
$items |
mixed |
- |
Return type
Parent class
Wagnerwagner\Merx\Cart inherited from Kirby\Toolkit\Collection