Skip to content

Kirby 6.0.0

$fileStore->lock()

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

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

Parameters

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

Parent class

Kirby\Session\FileStore