aboutsummaryrefslogtreecommitdiff
path: root/cli/i18n/I18nValidatorInterface.php
blob: 8c58f84cbac21d9c90e2a67c1aec94ed8a36a30a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
declare(strict_types=1);

interface I18nValidatorInterface {

	/**
	 * Display the validation result.
	 * Empty if there are no errors.
	 */
	public function displayResult(): string;

	public function validate(): bool;

	/**
	 * Display the validation report.
	 */
	public function displayReport(bool $percentage_only = false): string;

}