Skip to content

Commit 6a01a4d

Browse files
committed
Add doc for NotificationMiddleware
1 parent f039465 commit 6a01a4d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Server/NotificationMiddleware.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66

77
use Haeckel\JsonRpcServerContract\Message;
88

9+
/**
10+
* Split from general Middleware interface to provide unambiguous return types for this and
11+
* RequestMiddlewareIface.
12+
* may be implemented in the same class as the RequestHandlerIface for optimal code reuse.
13+
*/
914
interface NotificationMiddleware
1015
{
1116
public function processNotification(

0 commit comments

Comments
 (0)