MediaWiki master
|
Base class for RCFeed implementations that use RCFeedFormatter. More...
Inherits MediaWiki\RCFeed\RCFeed.
Inherited by MediaWiki\RCFeed\RedisPubSubFeedEngine, and MediaWiki\RCFeed\UDPRCFeedEngine.
Public Member Functions | |
__construct (array $params) | |
notify (RecentChange $rc, $actionComment=null) | |
send (array $feed, $line) | |
Send some text to the specified feed. | |
Additional Inherited Members | |
![]() | |
static | factory (array $params) |
Base class for RCFeed implementations that use RCFeedFormatter.
Parameters:
Definition at line 34 of file FormattedRCFeed.php.
MediaWiki\RCFeed\FormattedRCFeed::__construct | ( | array | $params | ) |
array | $params |
Reimplemented from MediaWiki\RCFeed\RCFeed.
Definition at line 40 of file FormattedRCFeed.php.
References $params.
MediaWiki\RCFeed\FormattedRCFeed::notify | ( | RecentChange | $rc, |
$actionComment = null ) |
RecentChange | $rc | |
string | null | $actionComment |
Reimplemented from MediaWiki\RCFeed\RCFeed.
Definition at line 58 of file FormattedRCFeed.php.
References MediaWiki\RCFeed\FormattedRCFeed\send().
|
abstract |
Send some text to the specified feed.
array | $feed | The feed, as configured in an associative array |
string | $line | The text to send |
Reimplemented in MediaWiki\RCFeed\RedisPubSubFeedEngine, and MediaWiki\RCFeed\UDPRCFeedEngine.
Referenced by MediaWiki\RCFeed\FormattedRCFeed\notify().