Mental Space

UserCreator
in package

FinalYes

Service.

Table of Contents

Properties

$repository  : UserRepository
$userValidator  : UserValidator

Methods

__construct()  : mixed
The constructor.
createDocUser()  : int
createPazUser()  : int
createUser()  : int
Create a new user.

Properties

Methods

createDocUser()

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

createPazUser()

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

createUser()

Create a new user.

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

The form data

Return values
int

The new user ID


        
On this page

Search results