repo/rest-api/src/Application/UseCases/ReplaceItemStatement/ReplaceItemStatementValidator.php
<?php declare( strict_types = 1 );
namespace Wikibase\Repo\RestApi\Application\UseCases\ReplaceItemStatement;
use Wikibase\Repo\RestApi\Application\UseCases\UseCaseError;
/**
* @license GPL-2.0-or-later
*/
interface ReplaceItemStatementValidator {
/**
* @throws UseCaseError
*/
public function validateAndDeserialize( ReplaceItemStatementRequest $request ): DeserializedReplaceItemStatementRequest;
}