# $orderPage->version()

> Returns a content version instance

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

```php
$orderPage->version(Kirby\Content\VersionId|string|null $versionId = null): Kirby\Content\Version
```

## Parameters

| Name | Type | Default |
| --- | --- | --- |
| `$versionId` | `Kirby\Content\VersionId\|string\|null` | `null` |

## Return type

`Kirby\Content\Version`

## Parent class

`Wagnerwagner\Merx\OrderPage` inherited from `Kirby\Cms\ModelWithContent`
