Skip to content

SessionInterface


  • Full name: \PhalconKit\Identity\Traits\Interfaces\SessionInterface

Methods

getSessionKey

public getSessionKey(bool $refresh = false): string

Parameters:

Parameter Type Description
$refresh bool

removeSessionIdentity

public removeSessionIdentity(): void

setSessionIdentity

public setSessionIdentity(array $identity): void

Parameters:

Parameter Type Description
$identity array

getSessionIdentity

public getSessionIdentity(): array

hasSessionIdentity

public hasSessionIdentity(): bool

getKey

public getKey(): ?string