Skip to content

Kirby 5.0.4

new Version()

new Version() 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.

new Version(Kirby\Cms\ModelWithContent $model, Kirby\Content\VersionId $id)

Parameters

Name Type Default
$modelrequired Kirby\Cms\ModelWithContent no default value
$idrequired Kirby\Content\VersionId no default value

Parent class

Kirby\Content\Version