# $taxRules->get()

> Getter

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

```php
$taxRules->get(string $key,  $default = null): TValue|TDefault|null
```

## Parameters

| Name | Type | Default |
| --- | --- | --- |
| `$key` | `string` | `–` |
| `$default` | `–` | `null` |

## Return type

`TValue|TDefault|null`

## Parent class

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