Skip to content

Kirby 6.0.1

Lock::legacyFile()

Returns the absolute path to a legacy lock file

Deprecated in 6.0.0
Old .lock files are no longer supported

Lock::legacyFile() 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.

Lock::legacyFile(ModelWithContent $model): string

Parameters

Name Type Default
$modelrequired Kirby\Cms\ModelWithContent no default value

Return type

string

Parent class

Kirby\Content\Lock