User
in package
Read onlyYes
User entity
Table of Contents
Properties
- $createdAt : DateTimeImmutable
- $id : int|null
- $mustChangePassword : bool
- $passwordHash : string
- $username : string
Methods
- __construct() : mixed
Properties
$createdAt
public
DateTimeImmutable
$createdAt
$id
public
int|null
$id
$mustChangePassword
public
bool
$mustChangePassword
= false
$passwordHash
public
string
$passwordHash
$username
public
string
$username
Methods
__construct()
public
__construct(int|null $id, string $username, string $passwordHash, DateTimeImmutable $createdAt[, bool $mustChangePassword = false ]) : mixed
Parameters
- $id : int|null
- $username : string
- $passwordHash : string
- $createdAt : DateTimeImmutable
- $mustChangePassword : bool = false