MediaWiki REL1_35
|
Base class for reliable event relays. More...
Public Member Functions | |
__construct (array $params) | |
Stable to call. | |
notify ( $channel, $event) | |
notifyMulti ( $channel, $events) | |
setLogger (LoggerInterface $logger) | |
Protected Member Functions | |
doNotify ( $channel, array $events) | |
Protected Attributes | |
LoggerInterface | $logger |
Base class for reliable event relays.
Stable to extend
Definition at line 29 of file EventRelayer.php.
EventRelayer::__construct | ( | array | $params | ) |
Stable to call.
array | $params |
Reimplemented in EventRelayerKafka.
Definition at line 38 of file EventRelayer.php.
|
abstractprotected |
string | $channel | |
array | $events | List of event data maps |
Reimplemented in EventRelayerKafka, and EventRelayerNull.
Referenced by notify(), and notifyMulti().
|
final |
string | $channel | |
array | $event | Event data map |
Definition at line 47 of file EventRelayer.php.
References doNotify().
|
final |
string | $channel | |
array | $events | List of event data maps |
Definition at line 56 of file EventRelayer.php.
References doNotify().
EventRelayer::setLogger | ( | LoggerInterface | $logger | ) |
Definition at line 60 of file EventRelayer.php.
References $logger.
|
protected |
Definition at line 31 of file EventRelayer.php.
Referenced by setLogger().