Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\DataModel\Term\LabelsProvider Interface Reference

Common interface for classes (typically Entities) that contain a TermList, representing labels. More...

+ Inheritance diagram for Wikibase\DataModel\Term\LabelsProvider:

Public Member Functions

 getLabels ()
 This is guaranteed to return the original, mutable object.
 

Detailed Description

Common interface for classes (typically Entities) that contain a TermList, representing labels.

Implementations must guarantee this returns the original, mutable object.

Since
4.1
Author
Bene* < benes.nosp@m.tar..nosp@m.wikim.nosp@m.edia.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >

Member Function Documentation

◆ getLabels()

Wikibase\DataModel\Term\LabelsProvider::getLabels ( )

This is guaranteed to return the original, mutable object.

Returns
TermList

Implemented in Wikibase\DataModel\Entity\Item, Wikibase\DataModel\Entity\Property, and Wikibase\DataModel\Term\Fingerprint.


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