Immutable ID of a Lexeme in the lexicographical data model.
More...
|
const | PATTERN = '/^L[1-9]\d{0,9}\z/i' |
|
Immutable ID of a Lexeme in the lexicographical data model.
- See also
- https://www.mediawiki.org/wiki/Extension:WikibaseLexeme/Data_Model#Lexeme
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Lexeme\Domain\Model\LexemeId::__construct |
( |
|
$serialization | ) |
|
◆ assertValidIdFormat()
Wikibase\Lexeme\Domain\Model\LexemeId::assertValidIdFormat |
( |
|
$serialization | ) |
|
|
private |
◆ getEntityType()
Wikibase\Lexeme\Domain\Model\LexemeId::getEntityType |
( |
| ) |
|
◆ getNumericId()
Wikibase\Lexeme\Domain\Model\LexemeId::getNumericId |
( |
| ) |
|
- See also
- Int32EntityId::getNumericId
- Returns
- int
- Exceptions
-
RuntimeException | if called on a foreign ID. |
◆ serialize()
Wikibase\Lexeme\Domain\Model\LexemeId::serialize |
( |
| ) |
|
- See also
- Serializable::serialize
- Returns
- string
◆ unserialize()
Wikibase\Lexeme\Domain\Model\LexemeId::unserialize |
( |
|
$serialized | ) |
|
- See also
- Serializable::unserialize
- Parameters
-
◆ PATTERN
const Wikibase\Lexeme\Domain\Model\LexemeId::PATTERN = '/^L[1-9]\d{0,9}\z/i' |
The documentation for this class was generated from the following file: