Skip to content

Kirby 5.3.2

$session->token()

Gets the session token or null if the session doesn't have a token yet

$session->token(): string|null

Return types

stringornull

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

Parent class

Kirby\Session\Session