Skip to content

Kirby 6.0.0

$store->set()

Stores data to the given session. Needs to make sure that the session exists. Needs to throw an Exception on error.

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

Parameters

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

Parent class

Kirby\Session\Store