Skip to content
docsv0.1.0

ActorType

What kind of thing an {@see Actor} is — the closed set of identity classes the framework recognises. A `User` is a human, an `Agent` is an autonomous AI actor acting on someone's behalf, a `Service` is a machine-to-machine caller. The set is deliberately closed: it is identity, not free-form metadata, and every audited action can name which of the three took it.

ActorType::cases()

public static function cases(): array

ActorType::from()

public static function from(string|int $value): static

Parameters

Parameters of from()
NameTypeDescription
$valuestring|int

ActorType::tryFrom()

public static function tryFrom(string|int $value): ?static

Parameters

Parameters of tryFrom()
NameTypeDescription
$valuestring|int