Wikibase
MediaWiki Wikibase extension
Wikibase\DataModel\Statement\StatementListHolder Interface Reference

Interface for classes that contain a StatementList. More...

+ Inheritance diagram for Wikibase\DataModel\Statement\StatementListHolder:
+ Collaboration diagram for Wikibase\DataModel\Statement\StatementListHolder:

Public Member Functions

 setStatements (StatementList $statements)
 
- Public Member Functions inherited from Wikibase\DataModel\Statement\StatementListProvider
 getStatements ()
 This is guaranteed to return the original, mutable object by reference. More...
 

Detailed Description

Interface for classes that contain a StatementList.

Since
3.0
Deprecated:
since 5.1, will be removed in favor of StatementListProvider, which gives the guarantee to return an object by reference. Changes to that object change the entity.
Author
Thiemo Kreuz

Member Function Documentation

◆ setStatements()

Wikibase\DataModel\Statement\StatementListHolder::setStatements ( StatementList  $statements)

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