blob: 27325703d96fb46d2df4f98e6746a9ec4da989b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
/**
* Interface to be implemented by Validators.
*
* @file
* @author Abijeet Patro
* @license GPL-2.0-or-later
*/
namespace MediaWiki\Extensions\Translate\MessageValidator;
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 );
}
|