$pricingRules->set()
Adds a new element to the collection
$pricingRules->set(array|string $key, TValue|null $value = null): Kirby\Toolkit\Collection
Parameters
| Name | Type | Default |
|---|---|---|
$key |
array or string |
- |
$value |
TValue or null |
null |
Return type
Parent class
Wagnerwagner\Merx\PricingRules inherited from Kirby\Toolkit\Collection