repository; } protected function getClass(): string { return Activity::class; } protected function attributeToRole(StoredObjectRoleEnum $attribute): string { return match ($attribute) { StoredObjectRoleEnum::EDIT => ActivityVoter::UPDATE, StoredObjectRoleEnum::SEE => ActivityVoter::SEE_DETAILS, }; } protected function canBeAssociatedWithWorkflow(): bool { return false; } }