Model
Less than 1 minute
Model
Methods
create
Create a new user record.
public create(string $identity, string $credential, array $data): boolParameters
| Parameter | Type | Description |
|---|---|---|
$identity | string | The user identity/username |
$credential | string | The user credential/password |
$data | array | Additional data to store with the user record |
update
Update a user record.
public update(string $identity, ?string $credential, array $data): boolUse this method to set the user's password and/or update any additional data stored with the user record.
Parameters
| Parameter | Type | Description |
|---|---|---|
$identity | string | The user identity/username |
$credential | string | |
$data | array | The data to update |
delete
Delete a user record.
public delete(string $identity): boolParameters
| Parameter | Type | Description |
|---|---|---|
$identity | string | The user identity/username |
Generated by Hazaar API Doc Generator on Mon, 27 Oct 2025 13:01:29 +0000