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 |