final class UserId implements JsonSerializable (View source)

Constants

private SYSTEM_USER_ID

Methods

static UserId
create()

No description

static UserId
forSystemUser()

Creates a special user ID which refers to the virtual "system" user.

static UserId
fromString(string $value)

No description

bool
isSystemUser()

No description

bool
equals(UserId $other)

No description

string
jsonSerialize()

No description

string
__toString()

No description

Details

static UserId create()

No description

Return Value

UserId

static UserId forSystemUser()

Creates a special user ID which refers to the virtual "system" user.

Return Value

UserId

static UserId fromString(string $value)

No description

Parameters

string $value

Return Value

UserId

bool isSystemUser()

No description

Return Value

bool

bool equals(UserId $other)

No description

Parameters

UserId $other

Return Value

bool

string jsonSerialize()

No description

Return Value

string

string __toString()

No description

Return Value

string