- Since
- 3.7
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\DataModel\Services\EntityId\PrefixMappingEntityIdParserFactory::__construct |
( |
EntityIdParser |
$parser, |
|
|
array |
$idPrefixMapping |
|
) |
| |
- Since
- 3.7
- Parameters
-
EntityIdParser | $parser | |
array[] | $idPrefixMapping | An associative array mapping repository names (strings) to id serialization prefix mappings specific to the particular repository ( |
- See also
- PrefixMappingEntityIdParser). If an empty-string key is provided in the mapping for some repository, its value must be the same as the repository name.
- Exceptions
-
ParameterAssertionException | |
◆ getIdParser()
Wikibase\DataModel\Services\EntityId\PrefixMappingEntityIdParserFactory::getIdParser |
( |
|
$repository | ) |
|
◆ newIdParserForRepository()
Wikibase\DataModel\Services\EntityId\PrefixMappingEntityIdParserFactory::newIdParserForRepository |
( |
|
$repository | ) |
|
|
private |
◆ $idPrefixMapping
Wikibase\DataModel\Services\EntityId\PrefixMappingEntityIdParserFactory::$idPrefixMapping |
|
private |
◆ $parser
Wikibase\DataModel\Services\EntityId\PrefixMappingEntityIdParserFactory::$parser |
|
private |
◆ $parsers
Wikibase\DataModel\Services\EntityId\PrefixMappingEntityIdParserFactory::$parsers = [] |
|
private |
The documentation for this class was generated from the following file: