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