Méthode | Description | |
---|---|---|
findFirstMatch ( array $accepted, array $available = [] ) : string | null | Compares two parsed arrays of language tags and find the matches | |
findMatches ( array $accepted, array $available = [] ) : array | Compares two parsed arrays of language tags and find the matches | |
parseLanguageList ( string | null $languageList = null ) : array |
Méthode | Description | |
---|---|---|
_matchLanguage ( string $a, string $b ) : float | Compare two language tags and distinguish the degree of matching |