Merx

$cart->extend()

Adds all elements to a cloned collection

$cart->extend($items): Kirby\Toolkit\Collection

Parameters

Name Type Default
$items mixed -

Return type

Kirby\Toolkit\Collection

Parent class

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