MediaWiki REL1_40
|
Send recent change to a Redis Pub/Sub channel. More...
Inherits FormattedRCFeed.
Public Member Functions | |
send (array $feed, $line) | |
Public Member Functions inherited from FormattedRCFeed | |
__construct (array $params) | |
notify (RecentChange $rc, $actionComment=null) | |
Additional Inherited Members | |
Static Public Member Functions inherited from RCFeed | |
static | factory (array $params) |
Send recent change to a Redis Pub/Sub channel.
If the feed URI contains a path component, it will be used to generate a channel name by stripping the leading slash and replacing any remaining slashes with '.'. If no path component is present, the channel is set to 'rc'. If the URI contains a query string, its parameters will be parsed as RedisConnectionPool options.
Parameters:
formatter
: (Required) Which RCFeedFormatter class to use.uri
: (Required) Where to send the messages.Definition at line 46 of file RedisPubSubFeedEngine.php.
RedisPubSubFeedEngine::send | ( | array | $feed, |
$line ) |
array | $feed | |
string | $line |
Reimplemented from FormattedRCFeed.
Definition at line 54 of file RedisPubSubFeedEngine.php.
References wfParseUrl().