getTerritoriesForLanguage() public static method

Return a list of territory IDs where a specific language is spoken, sorted by the total number of people speaking that language.
public static getTerritoriesForLanguage ( string $languageID, float $threshold ) : array
$languageID string The language identifier
$threshold float The minimum percentage (from 0 to 100) to consider a language as spoken in a Country
return array
 /**
  * Return a list of territory codes where a specific language is spoken, sorted by the total number of people speaking that language.
  *
  * @param string $languageCode The language code (eg. 'en')
  *
  * @return array Returns a list of country codes
  */
 public function getCountriesForLanguage($languageCode)
 {
     return \Punic\Territory::getTerritoriesForLanguage($languageCode);
 }