$file->lock()
Returns the lock object for this model
$file->lock(): Kirby\Cms\ContentLock|null
Return type
Parent class
Kirby\Cms\File
inherited from Kirby\Cms\ModelWithContent
Returns the lock object for this model
$file->lock(): Kirby\Cms\ContentLock|null
Kirby\Cms\File
inherited from Kirby\Cms\ModelWithContent