added notify method, that gets called when a transport should to send a notification a subscriber
This commit is contained in:
parent
5f65485798
commit
e42b7b34ad
1 changed files with 2 additions and 0 deletions
|
@ -38,4 +38,6 @@ abstract class Transport {
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract public function registerSubscription($options);
|
abstract public function registerSubscription($options);
|
||||||
|
|
||||||
|
abstract public function notify(string $userId, string $collectionName, $data);
|
||||||
}
|
}
|
Loading…
Reference in a new issue