summaryrefslogtreecommitdiff
blob: c89f349bc5c8057cfd21daa2ce0032573e988420 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/**
 * Interface to be implemented by Validators.
 *
 * @file
 * @author Abijeet Patro
 * @license GPL-2.0-or-later
 */

namespace MediaWiki\Extension\Translate\Validation;

use TMessage;

/**
 * Interface class built to be implement by validators
 * @since 2019.06
 * @deprecated since 2020.06
 */
interface Validator {
	public function validate( TMessage $message, $code, array &$notices );
}

class_alias( Validator::class, '\MediaWiki\Extensions\Translate\Validator' );