DoDomuDojade Documentation

EditUserDTO
in package

Read onlyYes
FinalYes

DTO for editing users

Table of Contents

Properties

$password  : string|null
$username  : string

Methods

__construct()  : mixed
fromArray()  : self
Create DTO from an array

Properties

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>
Tags
throws
UserException
Return values
self

        
On this page

Search results