protected getRegionCodesForCountryCode ( integer $countryCallingCode ) : array | ||
$countryCallingCode | integer | |
리턴 | array |
protected function getRegionCodesForCountryCode($countryCallingCode)
{
if (!array_key_exists($countryCallingCode, $this->countryCallingCodeToRegionCodeMap)) {
$regionCodes = null;
} else {
$regionCodes = $this->countryCallingCodeToRegionCodeMap[$countryCallingCode];
}
return $regionCodes === null ? array() : $regionCodes;
}