Skip to content

Kirby 6.0.0

$store->lock()

Locks the given session exclusively Needs to throw an Exception on error.

$store->lock(int $expiryTime, string $id): void

Parameters

Name Type Default
$expiryTimerequired int no default value
$idrequired string no default value

Parent class

Kirby\Session\Store