$file->lock()
Returns lock for the model
$file->lock(): Lock
Return type
Parent class
Kirby\Cms\File
inherited from Kirby\Cms\ModelWithContent
Returns lock for the model
$file->lock(): Lock
Kirby\Cms\File
inherited from Kirby\Cms\ModelWithContent