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