Turns legacy entity id serializations consisting of entity type + numeric id into present day EntityId implementations.
More...
Turns legacy entity id serializations consisting of entity type + numeric id into present day EntityId implementations.
New usages of this class should be very carefully considered. This class is internal to DataModel and should not be used by other components.
- Since
- 1.0
- Copyright
- GPL-2.0-or-later
- Author
- Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >
◆ newIdFromTypeAndNumber()
static Wikibase\DataModel\LegacyIdInterpreter::newIdFromTypeAndNumber |
( |
| $entityType, |
|
|
| $numericId ) |
|
static |
- Parameters
-
string | $entityType | |
int | float | string | $numericId | |
- Returns
- EntityId
- Exceptions
-
The documentation for this class was generated from the following file: