final class OAuthAccountIdentity

Properties

string $key

Methods

__construct(string $model, string $connection, string $table, int|string $id, string|null $partitionColumn, string|null $partition)

Capture the storage identity without retaining a mutable account.

newModel()

Create a source model on the captured connection and table.

query()

Start an account query with its model scopes and partition intact.

Details

at line 20
__construct(string $model, string $connection, string $table, int|string $id, string|null $partitionColumn, string|null $partition)

Capture the storage identity without retaining a mutable account.

Parameters

string $model
string $connection
string $table
int|string $id
string|null $partitionColumn
string|null $partition

at line 34
OAuthAccount newModel()

Create a source model on the captured connection and table.

Return Value

OAuthAccount

at line 44
Builder query()

Start an account query with its model scopes and partition intact.

Return Value

Builder