wikimedia/mediawiki-extensions-Wikibase

View on GitHub
repo/rest-api/src/Application/UseCases/RemoveItemLabel/RemoveItemLabelValidator.php

Summary

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

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

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

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

    /**
     * @throws UseCaseError
     */
    public function validateAndDeserialize( RemoveItemLabelRequest $request ): DeserializedRemoveItemLabelRequest;

}