Properties

dfdb

private \Qubus\Expressive\Database $dfdb

Methods

__construct

public __construct(\Qubus\Expressive\Database $dfdb): mixed

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

public get(string $siteId, string $userId, mixed $key, mixed|null $default = null): mixed

Parameters:

Parameter Type Description
$siteId string
$userId string
$key mixed
$default mixed|null

Throws:


exists

public exists(string $siteId, string $userId): bool

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

public create(\App\Infrastructure\Services\User\UserAttributeBag $attribute): void

Parameters:

Parameter Type Description
$attribute \App\Infrastructure\Services\User\UserAttributeBag

Throws:


save

public save(\App\Infrastructure\Services\User\UserAttributeBag $attribute): void

Parameters:

Parameter Type Description
$attribute \App\Infrastructure\Services\User\UserAttributeBag

Throws:


delete

public delete(string $siteId, string $userId): void

Parameters:

Parameter Type Description
$siteId string
$userId string

Throws: