aboutsummaryrefslogtreecommitdiff
path: root/cli/i18n/I18nValidatorInterface.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-12-17 20:28:04 +0100
committerGravatar GitHub <noreply@github.com> 2017-12-17 20:28:04 +0100
commit60f56539c3f30fd3f7ba4f2a3570f7029ac93e5f (patch)
tree1e78bfac7042dceb63898e2215db8fb0c1d7745d /cli/i18n/I18nValidatorInterface.php
parentceda55c75b158fc1cf4813fe0f258527754b9289 (diff)
parent0b1516af91792f86868689392f72ad4b6e32cdcf (diff)
Merge pull request #1720 from FreshRSS/dev
FreshRSS 1.9.0
Diffstat (limited to 'cli/i18n/I18nValidatorInterface.php')
-rw-r--r--cli/i18n/I18nValidatorInterface.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/cli/i18n/I18nValidatorInterface.php b/cli/i18n/I18nValidatorInterface.php
new file mode 100644
index 000000000..edfe7aac0
--- /dev/null
+++ b/cli/i18n/I18nValidatorInterface.php
@@ -0,0 +1,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();
+
+}