Skip to content

Kirby 5.0.4

Lock::legacyFile()

Returns the absolute path to a legacy lock file

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(Kirby\Cms\ModelWithContent $model): string

Parameters

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

Return type

string

Parent class

Kirby\Content\Lock