示例#1
0
 /**
  * Parse Accept-Language header and returns preferred language.
  *
  * @param  string[] supported languages
  * @return string|NULL
  */
 public function detectLanguage(array $langs)
 {
     $this->current->detectLanguage($langs);
 }