MediaWiki 1.44.0
MediaWiki\Notification\NotificationHandler Interface Reference

Accept notification events and notify users about them. More...

Inherited by MediaWiki\Notification\Handlers\RecentChangeNotificationHandler.

Public Member Functions

 notify (Notification $notification, RecipientSet $recipients)
 Notify users about an event occurring.
 

Detailed Description

Accept notification events and notify users about them.

Since
1.44
Stability: unstable

Definition at line 11 of file NotificationHandler.php.

Member Function Documentation

◆ notify()

MediaWiki\Notification\NotificationHandler::notify ( Notification $notification,
RecipientSet $recipients )

Notify users about an event occurring.

Todo
  • decide maybe instead of handling single notification, Handlers can handle batches

Implemented in MediaWiki\Notification\Handlers\RecentChangeNotificationHandler.


The documentation for this interface was generated from the following file: