wikimedia/mediawiki-extensions-Wikibase

View on GitHub
repo/rest-api/src/Application/UseCases/ReplaceStatement/ReplaceStatementValidator.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php declare( strict_types = 1 );

namespace Wikibase\Repo\RestApi\Application\UseCases\ReplaceStatement;

use Wikibase\Repo\RestApi\Application\UseCases\UseCaseError;

/**
 * @license GPL-2.0-or-later
 */
interface ReplaceStatementValidator {

    /**
     * @throws UseCaseError
     */
    public function validateAndDeserialize( ReplaceStatementRequest $request ): DeserializedReplaceStatementRequest;

}