WikibaseLexeme
MediaWiki WikibaseLexeme extension
Loading...
Searching...
No Matches
Wikibase\Lexeme\Domain\Model\SenseId Class Reference

Immutable ID of a Lexeme's sense in the lexicographical data model. More...

+ Inheritance diagram for Wikibase\Lexeme\Domain\Model\SenseId:
+ Collaboration diagram for Wikibase\Lexeme\Domain\Model\SenseId:

Public Member Functions

 __construct (string $serialization)
 
 getEntityType ()
 
- Public Member Functions inherited from Wikibase\Lexeme\Domain\Model\LexemeSubEntityId
 getSerialization ()
 
 __serialize ()
 
 __unserialize (array $data)
 
 getLexemeId ()
 
 getIdSuffix ()
 Returns the sub-entity id suffix, e.g.
 

Public Attributes

const PATTERN = '/^L[1-9]\d*-S[1-9]\d*\z/'
 
- Public Attributes inherited from Wikibase\Lexeme\Domain\Model\LexemeSubEntityId
const SUBENTITY_ID_SEPARATOR = '-'
 

Additional Inherited Members

- Static Public Member Functions inherited from Wikibase\Lexeme\Domain\Model\LexemeSubEntityId
static formatSerialization (EntityId $containerEntityId, string $idPrefix, int $id)
 Format a serialization of a sub entity id, e.g.
 

Detailed Description

Immutable ID of a Lexeme's sense in the lexicographical data model.

See also
https://www.mediawiki.org/wiki/Extension:WikibaseLexeme/Data_Model#Sense

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lexeme\Domain\Model\SenseId::__construct ( string $serialization)

Member Function Documentation

◆ getEntityType()

Wikibase\Lexeme\Domain\Model\SenseId::getEntityType ( )

Member Data Documentation

◆ PATTERN

const Wikibase\Lexeme\Domain\Model\SenseId::PATTERN = '/^L[1-9]\d*-S[1-9]\d*\z/'

The documentation for this class was generated from the following file: