Wikibase
MediaWiki Wikibase extension
|
A class for getting namespaces for federated properties one time per request. More...
Public Member Functions | |
__construct (GenericActionApiClient $api, array $contentModelMapping) | |
getNamespaceNameForEntityType (string $entityType) | |
Private Member Functions | |
fetchNamespaces () | |
getNamespaceNameForContentModel (string $entityContentModel) | |
Private Attributes | |
$namespaces | |
$api | |
$contentModelMapping | |
A class for getting namespaces for federated properties one time per request.
Wikibase\Repo\FederatedProperties\ApiEntityNamespaceInfoLookup::__construct | ( | GenericActionApiClient | $api, |
array | $contentModelMapping | ||
) |
|
private |
|
private |
Wikibase\Repo\FederatedProperties\ApiEntityNamespaceInfoLookup::getNamespaceNameForEntityType | ( | string | $entityType | ) |
string | $entityType |
|
private |
|
private |
|
private |