- Full name:
\App\Infrastructure\Services\User\UserAttributeRepository
Methods
find
Parameters:
| Parameter | Type | Description |
|---|---|---|
$siteId |
string | |
$userId |
string |
get
Parameters:
| Parameter | Type | Description |
|---|---|---|
$siteId |
string | |
$userId |
string | |
$key |
string | |
$default |
mixed |
exists
Parameters:
| Parameter | Type | Description |
|---|---|---|
$siteId |
string | |
$userId |
string |
patch
public patch(string $siteId, string $userId, callable $callback): \App\Infrastructure\Services\User\UserAttributeBag
Parameters:
| Parameter | Type | Description |
|---|---|---|
$siteId |
string | |
$userId |
string | |
$callback |
callable |
create
Parameters:
| Parameter | Type | Description |
|---|---|---|
$attribute |
\App\Infrastructure\Services\User\UserAttributeBag |
save
Parameters:
| Parameter | Type | Description |
|---|---|---|
$attribute |
\App\Infrastructure\Services\User\UserAttributeBag |
delete
Parameters:
| Parameter | Type | Description |
|---|---|---|
$siteId |
string | |
$userId |
string |