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