Mental Space

UserUpdater
in package

FinalYes

Service.

Table of Contents

Properties

$repository  : UserRepository
$userValidator  : UserValidator

Methods

__construct()  : mixed
The constructor.
updateUser()  : void
Update user.
updateUserAddr()  : mixed
updateUserPassword()  : array<string|int, mixed>
updateUserPwd()  : mixed

Properties

Methods

updateUser()

Update user.

public updateUser(int $userId, array<string|int, mixed> $data) : void
Parameters
$userId : int

The user id

$data : array<string|int, mixed>

The request data

updateUserAddr()

public updateUserAddr(int $user_id, array<string|int, mixed> $data) : mixed
Parameters
$user_id : int
$data : array<string|int, mixed>

updateUserPassword()

public updateUserPassword(int $userId, array<string|int, mixed> $data) : array<string|int, mixed>
Parameters
$userId : int
$data : array<string|int, mixed>
Return values
array<string|int, mixed>

updateUserPwd()

public updateUserPwd(int $user_id, array<string|int, mixed> $data) : mixed
Parameters
$user_id : int
$data : array<string|int, mixed>

        
On this page

Search results