# $pricingRules->first()

> Returns the first element

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

```php
$pricingRules->first(): TValue|null
```

## Return type

`TValue|null`

## Parent class

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