From e42b7b34ad06f490f102a4a0dda751b6290602a8 Mon Sep 17 00:00:00 2001 From: Jonathan Treffler Date: Wed, 12 Jun 2024 02:59:09 +0200 Subject: [PATCH] added notify method, that gets called when a transport should to send a notification a subscriber --- lib/Transport/Transport.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Transport/Transport.php b/lib/Transport/Transport.php index 620951d..4c2aa49 100644 --- a/lib/Transport/Transport.php +++ b/lib/Transport/Transport.php @@ -38,4 +38,6 @@ abstract class Transport { } abstract public function registerSubscription($options); + + abstract public function notify(string $userId, string $collectionName, $data); } \ No newline at end of file