Thin wrapper around EntityTypeDefinitions::SUB_ENTITY_TYPES.
More...
Thin wrapper around EntityTypeDefinitions::SUB_ENTITY_TYPES.
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Lib\SubEntityTypesMapper::__construct |
( |
array | $typeMap | ) |
|
◆ getParentEntityType()
Wikibase\Lib\SubEntityTypesMapper::getParentEntityType |
( |
string | $type | ) |
|
Returns the parent entity type for a sub entity type, or null if given an unknown type or not a sub entity type.
◆ getSubEntityTypes()
Wikibase\Lib\SubEntityTypesMapper::getSubEntityTypes |
( |
string | $type | ) |
|
◆ $typeMap
Wikibase\Lib\SubEntityTypesMapper::$typeMap |
|
private |
The documentation for this class was generated from the following file: