Where a granted permission came from. 2a emits only {@see self::Role} and {@see self::Scope};
{@see self::Policy} and {@see self::System} are reserved so a future policy/system grant needs no
schema change.
PermissionSourceType::cases()
public static functioncases():array
PermissionSourceType::from()
public static functionfrom(string|int$value): static
Parameters
Parameters of from()
Name
Type
Description
$value
string|int
PermissionSourceType::tryFrom()
public static functiontryFrom(string|int$value): ?static