Skip to content

Kirby 5.0.4

$sessionStore->get()

Returns the stored session data of the given session

$sessionStore->get(int $expiryTime, string $id): string

Parameters

Name Type Default Description
$expiryTimerequired int no default value Timestamp
$idrequired string no default value Session ID

Return type

string

This method modifies the existing $sessionstore object it is applied to and returns it again.

Parent class

Kirby\Session\SessionStore