Merx

$pricingRules->add()

Adds a single object or an entire second collection to the current collection

$pricingRules->add(Collection<TValue>|array<TValue>|TValue $object): Kirby\Cms\Collection

Parameters

Name Type Default
$object Collection<TValue> or array<TValue> or TValue -

Return type

Kirby\Cms\Collection

Parent class

Wagnerwagner\Merx\PricingRules inherited from Kirby\Cms\Collection