Skip to content

Kirby 4.4.1

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