Skip to content

Kirby 3.6.6

new Session()

Creates a new SessionData instance

new Session(Kirby\Session\Session $session, array $data)

Parameters

Name Type Default Description
$session * Kirby\Session\Session Session object this data belongs to
$data * array Currently stored session data

Parent class

Kirby\Session\SessionData