# $pricingRules->extend()

> Adds all elements to a cloned collection

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

```php
$pricingRules->extend($items): Kirby\Toolkit\Collection
```

## Parameters

| Name | Type | Default |
| --- | --- | --- |
| `$items` | `–` | `–` |

## Return type

`Kirby\Toolkit\Collection`

## Parent class

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