# $taxRules->append()

> Appends an element to the data array

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

```php
$taxRules->append(string|TValue ...$args): Kirby\Cms\Collection
```

## Parameters

| Name | Type | Default |
| --- | --- | --- |
| `...$args` | `string\|TValue` | `–` |

## Return type

`Kirby\Cms\Collection`

## Description

```php
$collection->append($object);
$collection->append('key', $object);
```

## Parent class

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