WikibaseLexeme
MediaWiki WikibaseLexeme extension
Loading...
Searching...
No Matches
Wikibase\Lexeme\Domain\Storage\SenseLabelDescriptionLookup Class Reference

A LabelDescriptionLookup for Senses which returns the lemmas of the sense’s lexeme as the “label” and the gloss as the “description”. More...

+ Inheritance diagram for Wikibase\Lexeme\Domain\Storage\SenseLabelDescriptionLookup:
+ Collaboration diagram for Wikibase\Lexeme\Domain\Storage\SenseLabelDescriptionLookup:

Public Member Functions

 __construct (EntityLookup $entityLookup, TermLanguageFallbackChain $termLanguageFallbackChain, LocalizedTextProvider $localizedTextProvider)
 

Private Attributes

 $entityLookup
 
 $termLanguageFallbackChain
 
 $localizedTextProvider
 

Detailed Description

A LabelDescriptionLookup for Senses which returns the lemmas of the sense’s lexeme as the “label” and the gloss as the “description”.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lexeme\Domain\Storage\SenseLabelDescriptionLookup::__construct ( EntityLookup $entityLookup,
TermLanguageFallbackChain $termLanguageFallbackChain,
LocalizedTextProvider $localizedTextProvider )

Member Data Documentation

◆ $entityLookup

Wikibase\Lexeme\Domain\Storage\SenseLabelDescriptionLookup::$entityLookup
private

◆ $localizedTextProvider

Wikibase\Lexeme\Domain\Storage\SenseLabelDescriptionLookup::$localizedTextProvider
private

◆ $termLanguageFallbackChain

Wikibase\Lexeme\Domain\Storage\SenseLabelDescriptionLookup::$termLanguageFallbackChain
private

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