Wikibase
MediaWiki Wikibase extension
Wikibase\DataModel\Term\DescriptionsProvider Interface Reference

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

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

Public Member Functions

 getDescriptions ()
 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 descriptions.

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

◆ getDescriptions()

Wikibase\DataModel\Term\DescriptionsProvider::getDescriptions ( )

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: