메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
_matchLanguage ( string $a, string $b ) : float | Compare two language tags and distinguish the degree of matching |