AccessRequestRepository
Corex\Config\Access\AccessRequestRepository · class · Config layer
Persists terminal, append-history access request decisions.
Corex\Config\Access\AccessRequestRepository · class · Config layer
Persists terminal, append-history access request decisions.
__construct(Migrator $migrator)createUnlessPending(int $requesterId, ?string $abilityKey, ?string $areaKey, string $reason, DateTimeImmutable $createdAt, DateTimeImmutable $expiresAt): ?intfind(int $id): ?arraytransition(int $id, string $state, int $reviewerId, string $note, DateTimeImmutable $reviewedAt): boolpending(): arraypendingFor(int $requesterId, ?string $abilityKey, ?string $areaKey): ?arrayapprove(int $id, int $reviewerId, string $note, DateTimeImmutable $reviewedAt, DateTimeImmutable $grantExpiresAt): boolgrants(): arrayendGrant(int $id, string $reason, ?int $endedBy, DateTimeImmutable $endedAt): boolexpiredGrants(DateTimeImmutable $now): arraycancel(int $id, string $reason, DateTimeImmutable $cancelledAt): bool