Skip to content

Kirby 4.1.2

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