Skip to content

Kirby 6.0.0

$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

Parent class

Kirby\Content\Lock