repo/rest-api/src/Domain/Services/StatementUpdater.php
<?php declare( strict_types=1 );
namespace Wikibase\Repo\RestApi\Domain\Services;
use Wikibase\DataModel\Statement\Statement;
use Wikibase\Repo\RestApi\Domain\Model\EditMetadata;
use Wikibase\Repo\RestApi\Domain\ReadModel\StatementRevision;
/**
* @license GPL-2.0-or-later
*/
interface StatementUpdater {
public function update( Statement $statement, EditMetadata $editMetadata ): StatementRevision;
}