use MimeAnalyzer;
use ObjectCache;
use Parser;
+use ParserCache;
use ProxyLookup;
use SearchEngine;
use SearchEngineConfig;
parent::__construct();
// Register the given Config object as the bootstrap config service.
- $this->defineService( 'BootstrapConfig', function() use ( $config ) {
+ $this->defineService( 'BootstrapConfig', function () use ( $config ) {
return $config;
} );
}
return $this->getService( 'Parser' );
}
+ /**
+ * @since 1.30
+ * @return ParserCache
+ */
+ public function getParserCache() {
+ return $this->getService( 'ParserCache' );
+ }
+
/**
* @since 1.28
* @return GenderCache