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)); } }