Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Lib\EntitySourceAndTypeDefinitions Class Reference

Public Member Functions

 __construct (array $entityTypeDefinitionsBySourceType, array $entitySources)
 
 getServiceBySourceAndType (string $serviceName)
 

Private Member Functions

 assertNoUnknownEntitySourceTypes (array $entityTypeDefinitionsBySourceType, array $entitySources)
 

Private Attributes

 $entityTypeDefinitionsBySourceType
 
 $entitySources
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lib\EntitySourceAndTypeDefinitions::__construct ( array $entityTypeDefinitionsBySourceType,
array $entitySources )
Parameters
EntityTypeDefinitions[]$entityTypeDefinitionsBySourceTypemaps entity source type to EntityTypeDefinitions
EntitySource[]$entitySources

Member Function Documentation

◆ assertNoUnknownEntitySourceTypes()

Wikibase\Lib\EntitySourceAndTypeDefinitions::assertNoUnknownEntitySourceTypes ( array $entityTypeDefinitionsBySourceType,
array $entitySources )
private

◆ getServiceBySourceAndType()

Wikibase\Lib\EntitySourceAndTypeDefinitions::getServiceBySourceAndType ( string $serviceName)

Member Data Documentation

◆ $entitySources

Wikibase\Lib\EntitySourceAndTypeDefinitions::$entitySources
private

◆ $entityTypeDefinitionsBySourceType

Wikibase\Lib\EntitySourceAndTypeDefinitions::$entityTypeDefinitionsBySourceType
private

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