EditUserDTO
in package
Read onlyYes
FinalYes
DTO for editing users
Table of Contents
Properties
Methods
- __construct() : mixed
- fromArray() : self
- Create DTO from an array
Properties
$password
public
string|null
$password
= null
$username
public
string
$username
Methods
__construct()
public
__construct(string $username[, string|null $password = null ]) : mixed
Parameters
- $username : string
- $password : string|null = null
fromArray()
Create DTO from an array
public
static fromArray(array<string|int, mixed> $array) : self
Parameters
- $array : array<string|int, mixed>