MediaWiki master
Wikimedia\EventRelayer\EventRelayerNull Class Reference

No-op class for publishing messages into a PubSub system. More...

Inherits Wikimedia\EventRelayer\EventRelayer.

Collaboration diagram for Wikimedia\EventRelayer\EventRelayerNull:

Public Member Functions

 doNotify ( $channel, array $events)
 
- Public Member Functions inherited from Wikimedia\EventRelayer\EventRelayer
 __construct (array $params)
 
 notify ( $channel, $event)
 
 notifyMulti ( $channel, $events)
 
 setLogger (LoggerInterface $logger)
 

Additional Inherited Members

- Protected Attributes inherited from Wikimedia\EventRelayer\EventRelayer
LoggerInterface $logger
 

Detailed Description

No-op class for publishing messages into a PubSub system.

Definition at line 26 of file EventRelayerNull.php.

Member Function Documentation

◆ doNotify()

Wikimedia\EventRelayer\EventRelayerNull::doNotify ( $channel,
array $events )
Parameters
string$channel
array$eventsList of event data maps
Returns
bool Success

Reimplemented from Wikimedia\EventRelayer\EventRelayer.

Definition at line 27 of file EventRelayerNull.php.


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