$services->getDBLoadBalancerFactory(),
$services->getExternalStoreAccess(),
$services->getMainWANObjectCache(),
- new ServiceOptions( BlobStoreFactory::$constructorOptions,
+ new ServiceOptions( BlobStoreFactory::CONSTRUCTOR_OPTIONS,
$services->getMainConfig() ),
$services->getContentLanguage()
);
private $contLang;
/**
- * TODO Make this a const when HHVM support is dropped (T192166)
- *
* @var array
* @since 1.34
*/
- public static $constructorOptions = [
+ public const CONSTRUCTOR_OPTIONS = [
'CompressRevisions',
'DefaultExternalStore',
'LegacyEncoding',
ServiceOptions $options,
Language $contLang
) {
- $options->assertRequiredOptions( self::$constructorOptions );
+ $options->assertRequiredOptions( self::CONSTRUCTOR_OPTIONS );
$this->lbFactory = $lbFactory;
$this->extStoreAccess = $extStoreAccess;