mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-03-30 04:01:33 -04:00
I was not happy with the previous version. I refactored everything to make it reusable. It allows me do do more verifications and to build a tool to handle the files themselves.
27 lines
402 B
PHP
27 lines
402 B
PHP
<?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();
|
|
|
|
}
|