aboutsummaryrefslogtreecommitdiff
path: root/cli/i18n/I18nValidatorInterface.php
blob: edfe7aac011cb576eb840b483c64c4ef0010681e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php

interface I18nValidatorInterface {

	/**
	 * Display the validation result.
	 * Empty if there are no errors.
	 *
	 * @return array
	 */
	public function displayResult();

	/**
	 * @param array $ignore Keys to ignore for validation
	 * @return bool
	 */
	public function validate($ignore);

	/**
	 * Display the validation report.
	 *
	 * @return array
	 */
	public function displayReport();

}