diff --git a/src/Domain/Event/EventListener.php b/src/Domain/Event/EventListener.php new file mode 100644 index 0000000..959ac4b --- /dev/null +++ b/src/Domain/Event/EventListener.php @@ -0,0 +1,19 @@ + + * Created at: 20/01/2022 + */ + +declare(strict_types=1); + +namespace JeckelLab\Contract\Domain\Event; + +interface EventListener +{ + /** + * @return array> + * @psalm-mutation-free + */ + public static function getSubscribedEvents(): array; +}