private $timing;
/**
- * Constructor
* @param IContextSource $context Context to inherit from
*/
public function __construct( IContextSource $context ) {
*
* @deprecated since 1.27 use a StatsdDataFactory from MediaWikiServices (preferably injected)
*
- * @return MediawikiStatsdDataFactory
+ * @return IBufferingStatsdDataFactory
*/
public function getStats() {
return MediaWikiServices::getInstance()->getStatsdDataFactory();