mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-15 02:03:53 +00:00
16 lines
351 B
PHP
16 lines
351 B
PHP
|
<?php
|
||
|
|
||
|
namespace MediaWiki\Extension\AbuseFilter;
|
||
|
|
||
|
use MediaWiki\MediaWikiServices;
|
||
|
|
||
|
class AbuseFilterServices {
|
||
|
/**
|
||
|
* Conveniency wrapper for strong typing
|
||
|
* @return KeywordsManager
|
||
|
*/
|
||
|
public static function getKeywordsManager() : KeywordsManager {
|
||
|
return MediaWikiServices::getInstance()->getService( KeywordsManager::SERVICE_NAME );
|
||
|
}
|
||
|
}
|