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\User ornull |
null
|
$modified | int ornull |
null
|
$legacy | bool |
false
|