Wikibase
MediaWiki Wikibase extension
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 by reference. More...
 

Detailed Description

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

Implementations must guarantee this returns the original, mutable object by reference.

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 by reference.

Returns
TermList

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


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