Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\DataModel\Statement\StatementListProvider Interface Reference

Common interface for classes (typically Entities) that contain a StatementList. More...

+ Inheritance diagram for Wikibase\DataModel\Statement\StatementListProvider:

Public Member Functions

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

Detailed Description

Common interface for classes (typically Entities) that contain a StatementList.

Implementations must guarantee this returns the original, mutable object.

Since
2.2.0
Author
Marius Hoch < hoo@o.nosp@m.nlin.nosp@m.e.de >

Member Function Documentation

◆ getStatements()

Wikibase\DataModel\Statement\StatementListProvider::getStatements ( )

This is guaranteed to return the original, mutable object.

Returns
StatementList

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


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