- Full name:
\App\Infrastructure\Services\User\PdoUserAttributeDataRepository - This class is marked as final and can't be subclassed
- This class implements:
\App\Infrastructure\Services\User\UserAttributeRepository - This class is a Final class
Properties
dfdb
Methods
__construct
Parameters:
| Parameter | Type | Description |
|---|---|---|
$dfdb |
\Qubus\Expressive\Database |
find
public find(string $siteId, string $userId): \App\Infrastructure\Services\User\UserAttributeBag|null
Parameters:
| Parameter | Type | Description |
|---|---|---|
$siteId |
string | |
$userId |
string |
Throws:
get
Parameters:
| Parameter | Type | Description |
|---|---|---|
$siteId |
string | |
$userId |
string | |
$key |
mixed | |
$default |
mixed|null |
Throws:
exists
Parameters:
| Parameter | Type | Description |
|---|---|---|
$siteId |
string | |
$userId |
string |
Throws:
patch
public patch(string $siteId, string $userId, callable $callback): \App\Infrastructure\Services\User\UserAttributeBag
Parameters:
| Parameter | Type | Description |
|---|---|---|
$siteId |
string | |
$userId |
string | |
$callback |
callable |
Throws:
create
Parameters:
| Parameter | Type | Description |
|---|---|---|
$attribute |
\App\Infrastructure\Services\User\UserAttributeBag |
Throws:
save
Parameters:
| Parameter | Type | Description |
|---|---|---|
$attribute |
\App\Infrastructure\Services\User\UserAttributeBag |
Throws:
delete
Parameters:
| Parameter | Type | Description |
|---|---|---|
$siteId |
string | |
$userId |
string |
Throws: