Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\Specials\SpecialListPropertiesDispatchingFactory Class Reference

Factory to create Special:ListProperties based on whether federated properties setting is enabled ot not. More...

Static Public Member Functions

static factory (DataTypeFactory $dataTypeFactory, EntityIdFormatterFactory $entityIdFormatterFactory, EntityTitleLookup $entityTitleLookup, LanguageFallbackChainFactory $languageFallbackChainFactory, PrefetchingTermLookup $prefetchingTermLookup, SettingsArray $repoSettings, Store $store)
 

Detailed Description

Factory to create Special:ListProperties based on whether federated properties setting is enabled ot not.

If it's enabled, it returns an instance of SpecialListFederatedProperties otherwise, it returns an instance of SpecialListProperties. Both are built using global state.

Member Function Documentation

◆ factory()

static Wikibase\Repo\Specials\SpecialListPropertiesDispatchingFactory::factory ( DataTypeFactory  $dataTypeFactory,
EntityIdFormatterFactory  $entityIdFormatterFactory,
EntityTitleLookup  $entityTitleLookup,
LanguageFallbackChainFactory  $languageFallbackChainFactory,
PrefetchingTermLookup  $prefetchingTermLookup,
SettingsArray  $repoSettings,
Store  $store 
)
static
Returns
SpecialListFederatedProperties|SpecialListProperties
Exceptions

The documentation for this class was generated from the following file: