Skip to content

Kirby 4.1.2

$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