lib/packages/wikibase/data-model/src/Statement/StatementListProvider.php
<?php
namespace Wikibase\DataModel\Statement;
/**
* Common interface for classes (typically Entities) that contain a StatementList. Implementations
* must guarantee this returns the original, mutable object.
*
* @since 2.2.0
*
* @license GPL-2.0-or-later
* @author Marius Hoch < hoo@online.de >
*/
interface StatementListProvider {
/**
* This is guaranteed to return the original, mutable object.
*
* @return StatementList
*/
public function getStatements();
}