Skip to content

Kirby 5.1.2

$version->id()

Returns the VersionId instance for this version

$version->id() 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->id(): Kirby\Content\VersionId

Return type

Kirby\Content\VersionId

This method modifies the existing $version object it is applied to and returns it again.

Parent class

Kirby\Content\Version