# $taxRules->getIterator()

> Returns an iterator for the elements

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

```php
$taxRules->getIterator(): PhpIterator<TKey, TValue>
```

## Return type

`PhpIterator<TKey, TValue>`

## Parent class

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