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

Detailed Description

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

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

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

Returns
StatementList

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


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