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 functioncases():array
ActorType::from()
public static functionfrom(string|int$value): static
Parameters
Parameters of from()
Name
Type
Description
$value
string|int
ActorType::tryFrom()
public static functiontryFrom(string|int$value): ?static