Skip to content

Kirby 5.3.2

$session->data()

Returns the session data object

$session->data(): Kirby\Session\SessionData

Return type

Kirby\Session\SessionData

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

Parent class

Kirby\Session\Session