# $pricingRules->not()

> Returns a Collection without the given element(s)

- Source: `src/Cms/Collection.php#L247` <https://github.com/getkirby/kirby/blob/6.0.0-beta.1/src/Cms/Collection.php#L247>
- Inherited from Kirby, not part of the Merx API. See <https://getkirby.com/docs/reference>.

```php
$pricingRules->not(string|array|object ...$keys): Kirby\Cms\Collection
```

## Parameters

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `...$keys` | `string\|array\|object` | `–` | any number of keys,                                     passed as individual arguments |

## Return type

`Kirby\Cms\Collection`

## Parent class

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