# $taxRules->search()

> Searches the collection

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

```php
$taxRules->search(null|string $query = null, array|string $params = []): Kirby\Cms\Collection
```

## Parameters

| Name | Type | Default |
| --- | --- | --- |
| `$query` | `null\|string` | `null` |
| `$params` | `array\|string` | `[]` |

## Return type

`Kirby\Cms\Collection`

## Parent class

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