Skip to content

UserSession


  • Full name: \Codefy\Framework\Auth\UserSession
  • This class is marked as final and can't be subclassed
  • This class implements: SessionEntity
  • This class is a Final class

Properties

token

public ?string $token

Methods

withToken

public withToken(?string $token = null): self

Parameters:

Parameter Type Description
$token ?string

clear

public clear(): void

isEmpty

public isEmpty(): bool