AuthenticateUserDTO
in package
Read onlyYes
FinalYes
Table of Contents
Properties
Methods
- __construct() : mixed
- fromArray() : self
- validate() : void
Properties
$password
public
string
$password
$username
public
string
$username
Methods
__construct()
public
__construct(string $username, string $password) : mixed
Parameters
- $username : string
- $password : string
fromArray()
public
static fromArray(array<string|int, mixed> $data) : self
Parameters
- $data : array<string|int, mixed>
Return values
selfvalidate()
public
validate() : void