MediaWiki master
|
Interface for RC feed formatters. More...
Inherited by MediaWiki\RCFeed\IRCColourfulRCFeedFormatter, and MediaWiki\RCFeed\MachineReadableRCFeedFormatter.
Public Member Functions | |
getLine (array $feed, RecentChange $rc, $actionComment) | |
Formats the line to be sent by an engine. | |
Interface for RC feed formatters.
Definition at line 33 of file RCFeedFormatter.php.
MediaWiki\RCFeed\RCFeedFormatter::getLine | ( | array | $feed, |
RecentChange | $rc, | ||
$actionComment ) |
Formats the line to be sent by an engine.
array | $feed | The feed, as configured in an associative array. |
RecentChange | $rc | The RecentChange object showing what sort of event has taken place. |
string | null | $actionComment |
Implemented in MediaWiki\RCFeed\IRCColourfulRCFeedFormatter, and MediaWiki\RCFeed\MachineReadableRCFeedFormatter.