LoginToken
extends Exception
in package
Login Token Exception
Tags
Table of Contents
- $userId : int
- __construct() : mixed
- Constructor
- getUserId() : int
- Get the associated user ID
Properties
$userId
protected
int
$userId
Methods
__construct()
Constructor
public
__construct(string $message, int $userId[, Throwable|null $previous = null ]) : mixed
Parameters
- $message : string
-
Exception message
- $userId : int
-
User ID
- $previous : Throwable|null = null
-
Previous exception
Return values
mixed —getUserId()
Get the associated user ID
public
getUserId() : int