A collection of EntitySource objects.
More...
A collection of EntitySource objects.
Allows looking up an EntitySource object for a given entity type.
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\DataAccess\EntitySourceDefinitions::__construct |
( |
array |
$sources, |
|
|
SubEntityTypesMapper |
$subEntityTypesMapper |
|
) |
| |
- Parameters
-
EntitySource[] | $sources | with unique names. An single entity type can not be used in two different sources. |
SubEntityTypesMapper | $subEntityTypesMapper | |
◆ assertNoDuplicateSourcesOrEntityTypes()
Wikibase\DataAccess\EntitySourceDefinitions::assertNoDuplicateSourcesOrEntityTypes |
( |
array |
$sources | ) |
|
|
private |
◆ buildEntityTypeToDatabaseSourceMapping()
Wikibase\DataAccess\EntitySourceDefinitions::buildEntityTypeToDatabaseSourceMapping |
( |
| ) |
|
|
private |
◆ getApiSourceForEntityType()
Wikibase\DataAccess\EntitySourceDefinitions::getApiSourceForEntityType |
( |
string |
$entityType | ) |
|
As of Federated Properties v2 there is only one source of federation per entity type, so returning a single EntitySource is ok.
◆ getConceptBaseUris()
Wikibase\DataAccess\EntitySourceDefinitions::getConceptBaseUris |
( |
| ) |
|
◆ getDatabaseSourceForEntityType()
Wikibase\DataAccess\EntitySourceDefinitions::getDatabaseSourceForEntityType |
( |
string |
$entityType | ) |
|
◆ getEntityTypeToDatabaseSourceMapping()
Wikibase\DataAccess\EntitySourceDefinitions::getEntityTypeToDatabaseSourceMapping |
( |
| ) |
|
◆ getRdfNodeNamespacePrefixes()
Wikibase\DataAccess\EntitySourceDefinitions::getRdfNodeNamespacePrefixes |
( |
| ) |
|
◆ getRdfPredicateNamespacePrefixes()
Wikibase\DataAccess\EntitySourceDefinitions::getRdfPredicateNamespacePrefixes |
( |
| ) |
|
◆ getSources()
Wikibase\DataAccess\EntitySourceDefinitions::getSources |
( |
| ) |
|
◆ $entityTypeToDatabaseSourceMapping
Wikibase\DataAccess\EntitySourceDefinitions::$entityTypeToDatabaseSourceMapping = null |
|
private |
◆ $sources
Wikibase\DataAccess\EntitySourceDefinitions::$sources |
|
private |
◆ $sourceToConceptBaseUriMap
Wikibase\DataAccess\EntitySourceDefinitions::$sourceToConceptBaseUriMap = null |
|
private |
◆ $sourceToRdfNodeNamespacePrefixMap
Wikibase\DataAccess\EntitySourceDefinitions::$sourceToRdfNodeNamespacePrefixMap = null |
|
private |
◆ $sourceToRdfPredicateNamespacePrefixMap
Wikibase\DataAccess\EntitySourceDefinitions::$sourceToRdfPredicateNamespacePrefixMap = null |
|
private |
◆ $subEntityTypesMapper
Wikibase\DataAccess\EntitySourceDefinitions::$subEntityTypesMapper |
|
private |
The documentation for this class was generated from the following file: