$lock->toArray()
Converts the lock info to an array. This is directly usable for Panel view props.
$lock->toArray()
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->toArray(): array
Return type
array
This method modifies the existing $lock
object it is applied to and returns it again.