Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\FederatedProperties\DefaultFederatedPropertiesEntitySourceAdder Class Reference

Public Member Functions

 __construct (bool $federatedPropertiesEnabled, string $sourceScriptUrl, SubEntityTypesMapper $subTypeMapper)
 
 addDefaultIfRequired (EntitySourceDefinitions $existingDefinitions)
 

Private Attributes

 $federatedPropertiesEnabled
 
 $sourceScriptUrl
 
 $subTypeMapper
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\FederatedProperties\DefaultFederatedPropertiesEntitySourceAdder::__construct ( bool  $federatedPropertiesEnabled,
string  $sourceScriptUrl,
SubEntityTypesMapper  $subTypeMapper 
)
Parameters
bool$federatedPropertiesEnabled
string$sourceScriptUrl

Member Function Documentation

◆ addDefaultIfRequired()

Wikibase\Repo\FederatedProperties\DefaultFederatedPropertiesEntitySourceAdder::addDefaultIfRequired ( EntitySourceDefinitions  $existingDefinitions)

Member Data Documentation

◆ $federatedPropertiesEnabled

Wikibase\Repo\FederatedProperties\DefaultFederatedPropertiesEntitySourceAdder::$federatedPropertiesEnabled
private

◆ $sourceScriptUrl

Wikibase\Repo\FederatedProperties\DefaultFederatedPropertiesEntitySourceAdder::$sourceScriptUrl
private

◆ $subTypeMapper

Wikibase\Repo\FederatedProperties\DefaultFederatedPropertiesEntitySourceAdder::$subTypeMapper
private

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