Skip to content

Kirby 4.5.0

$file->lock()

Returns the lock object for this model

$file->lock(): Kirby\Cms\ContentLock|null

Return type

Kirby\Cms\ContentLock|null

Parent class

Kirby\Cms\File inherited from Kirby\Cms\ModelWithContent