I18nValidatorInterface.php 402 B

1234567891011121314151617181920212223242526
  1. <?php
  2. interface I18nValidatorInterface {
  3. /**
  4. * Display the validation result.
  5. * Empty if there are no errors.
  6. *
  7. * @return array
  8. */
  9. public function displayResult();
  10. /**
  11. * @param array $ignore Keys to ignore for validation
  12. * @return bool
  13. */
  14. public function validate($ignore);
  15. /**
  16. * Display the validation report.
  17. *
  18. * @return array
  19. */
  20. public function displayReport();
  21. }