Skip to content

Kirby 5.0.4

VersionId::from()

Creates a VersionId instance from a simple string value

VersionId::from() 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.

VersionId::from(Kirby\Content\VersionId|string $value): Kirby\Content\VersionId

Parameters

Name Type Default
$valuerequired Kirby\Content\VersionIdorstring no default value

Return type

Kirby\Content\VersionId

Parent class

Kirby\Content\VersionId