aboutsummaryrefslogtreecommitdiff
path: root/cli/i18n/I18nValidatorInterface.php
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <aledeg@users.noreply.github.com> 2017-11-04 21:17:08 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-11-04 21:17:08 +0100
commit05b1901fcdbb051077d12f776980484d3b782970 (patch)
tree1f005b468544ca6b16e9d1ac63c2d78b00812745 /cli/i18n/I18nValidatorInterface.php
parentfe84e6135e7bfb35085fafbc7191ba6306bdb20d (diff)
Move translation tools into the cli folder (#1673)
Translation tools must be used on cli. It is better to have them in the cli folder.
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();
+
+}