$pricingRules->filter()
Filters elements by one of the predefined filter methods, by a custom filter function or an array of filters
$pricingRules->filter(Closure|array|string $field, ...$args): Kirby\Toolkit\Collection
Parameters
| Name | Type | Default |
|---|---|---|
$field |
Closure or array or string |
- |
...$args |
mixed |
- |
Return type
Parent class
Wagnerwagner\Merx\PricingRules inherited from Kirby\Toolkit\Collection