feat: refonte de la gestion des événements de création de mangas en remplaçant le MessageBus par un EventDispatcher. Ajout d'un écouteur d'événements MangaCreated pour gérer la récupération des chapitres après la création d'un manga. Implémentation d'un EventDispatcher basé sur Symfony Messenger.
This commit is contained in:
parent
f1eb97f156
commit
bec1572fcb
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domain\Shared\Domain\Contract;
|
||||
|
||||
interface EventDispatcherInterface
|
||||
{
|
||||
public function dispatch(object $event): void;
|
||||
}
|
||||
Reference in New Issue
Block a user