From b7bd7904c2da7ed2ad92f50c04c4a3afc4c31d01 Mon Sep 17 00:00:00 2001 From: "bert.hausmans" Date: Fri, 8 May 2026 01:59:10 +0200 Subject: [PATCH] feat(form-builder): FormSubmissionIdentityMatchResolved broadcast event MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Per RFC-WS-6 §Q1 v1.3 addition 2. Broadcast event class only — not yet dispatched. D2 wires the dispatch call into TriggerPersonIdentityMatchOnFormSubmit::handle (after the final identity_match_status write), and the channel-authorization callback into routes/channels.php. Frontend Echo subscription is a separate frontend follow-up (out of WS-6 v1.3-delta scope). Co-Authored-By: Claude Opus 4.7 --- .../FormSubmissionIdentityMatchResolved.php | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 api/app/Events/FormBuilder/FormSubmissionIdentityMatchResolved.php diff --git a/api/app/Events/FormBuilder/FormSubmissionIdentityMatchResolved.php b/api/app/Events/FormBuilder/FormSubmissionIdentityMatchResolved.php new file mode 100644 index 00000000..a3da5719 --- /dev/null +++ b/api/app/Events/FormBuilder/FormSubmissionIdentityMatchResolved.php @@ -0,0 +1,58 @@ + + */ + public function broadcastOn(): array + { + return [ + new PrivateChannel("submission.{$this->submissionId}"), + ]; + } + + public function broadcastAs(): string + { + return 'identity-match.resolved'; + } +}