From aea879077532c64988c8413251d5475016161aec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albrecht=20K=C3=B6hnlein?= Date: Thu, 30 Oct 2025 18:08:52 +0100 Subject: [PATCH] [FEATURE] Add event GlossarySyncDone --- Classes/Event/GlossarySyncDone.php | 17 +++++++++++++++++ Classes/Service/DeeplGlossaryService.php | 10 +++++++++- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 Classes/Event/GlossarySyncDone.php diff --git a/Classes/Event/GlossarySyncDone.php b/Classes/Event/GlossarySyncDone.php new file mode 100644 index 0000000..adc2dfd --- /dev/null +++ b/Classes/Event/GlossarySyncDone.php @@ -0,0 +1,17 @@ +cache = $cache; $this->client = $client; $this->glossaryRepository = $glossaryRepository; + $this->eventDispatcher = $eventDispatcher; } /** @@ -170,5 +176,7 @@ public function syncGlossaries(int $uid): void $glossaryInformation->uid ); } + + $this->eventDispatcher->dispatch(new GlossarySyncDone($uid)); } }