- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Repo\FederatedProperties\ApiEntityNamespaceInfoLookup::__construct |
( |
GenericActionApiClient |
$api, |
|
|
array |
$contentModelMapping |
|
) |
| |
◆ fetchNamespaces()
Wikibase\Repo\FederatedProperties\ApiEntityNamespaceInfoLookup::fetchNamespaces |
( |
| ) |
|
|
private |
◆ getNamespaceNameForContentModel()
Wikibase\Repo\FederatedProperties\ApiEntityNamespaceInfoLookup::getNamespaceNameForContentModel |
( |
string |
$entityContentModel | ) |
|
|
private |
◆ getNamespaceNameForEntityType()
Wikibase\Repo\FederatedProperties\ApiEntityNamespaceInfoLookup::getNamespaceNameForEntityType |
( |
string |
$entityType | ) |
|
- Parameters
-
- Returns
- string|null Namespace name or null if no namespace is found for the entity
◆ $api
Wikibase\Repo\FederatedProperties\ApiEntityNamespaceInfoLookup::$api |
|
private |
◆ $contentModelMapping
Wikibase\Repo\FederatedProperties\ApiEntityNamespaceInfoLookup::$contentModelMapping |
|
private |
◆ $namespaces
Wikibase\Repo\FederatedProperties\ApiEntityNamespaceInfoLookup::$namespaces |
|
private |
The documentation for this class was generated from the following file: