$lock->modified()
Returns the timestamp when the locked content has been updated. You can pass a format to get a useful, formatted date back.
$lock->modified()
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->modified(string|null $format = null, string|null $handler = null): string|int|false|null
Parameters
Name | Type | Default |
---|---|---|
$format | string ornull |
null
|
$handler | string ornull |
null
|
Return types
string
orint
orfalse
ornull
This method modifies the existing $lock
object it is applied to and returns it again.