* @file
*/
-use MediaWiki\MediaWikiServices;
-
/**
* Factory class for spawning EventRelayer objects using configuration
*
$this->configByChannel = $config;
}
- /**
- * @deprecated since 1.27 Use MediaWikiServices::getInstance()->getEventRelayerGroup()
- * @return EventRelayerGroup
- */
- public static function singleton() {
- return MediaWikiServices::getInstance()->getEventRelayerGroup();
- }
-
/**
* @param string $channel
* @return EventRelayer Relayer instance that handles the given channel