Skip to content

Kirby 5.0.4

new Lock()

new Lock() 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 Lock(Kirby\Cms\User|null $user = null, int|null $modified = null, bool $legacy = false)

Parameters

Name Type Default
$user Kirby\Cms\Userornull null
$modified intornull null
$legacy bool false

Parent class

Kirby\Content\Lock