Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\Notifications\DatabaseChangeTransmitter Class Reference

Notification channel based on a database table. More...

+ Inheritance diagram for Wikibase\Repo\Notifications\DatabaseChangeTransmitter:
+ Collaboration diagram for Wikibase\Repo\Notifications\DatabaseChangeTransmitter:

Public Member Functions

 __construct (ChangeStore $changeStore)
 
 transmitChange (Change $change)
 

Private Attributes

 $changeStore
 

Detailed Description

Notification channel based on a database table.

Author
Marius Hoch

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Notifications\DatabaseChangeTransmitter::__construct ( ChangeStore  $changeStore)

Member Function Documentation

◆ transmitChange()

Wikibase\Repo\Notifications\DatabaseChangeTransmitter::transmitChange ( Change  $change)
See also
ChangeNotificationChannel::sendChangeNotification()

Saves the change to a database table.

Note
Only supports Change objects that are derived from ChangeRow.
Parameters
Change$change

Implements Wikibase\Repo\Notifications\ChangeTransmitter.

Member Data Documentation

◆ $changeStore

Wikibase\Repo\Notifications\DatabaseChangeTransmitter::$changeStore
private

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