$version->sibling()
Returns a sibling version for the same model
$version->sibling() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.
$version->sibling(VersionId|string $id): Version
Parameters
| Name | Type | Default |
|---|---|---|
| $idrequired | Kirby\Content\VersionIdorstring |
no default value |