Skip to content

Kirby 5.1.2

$sessions->cookieDomain()

Getter for the cookie domain

$sessions->cookieDomain(): string|null

Return types

stringornull

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

Parent class

Kirby\Session\Sessions