src/ShortNumberInfo.php
protected function getRegionCodesForCountryCode($countryCallingCode)
    {
        if (!array_key_exists($countryCallingCode, $this->countryCallingCodeToRegionCodeMap)) {
            $regionCodes = null;
        } else {
            $regionCodes = $this->countryCallingCodeToRegionCodeMap[$countryCallingCode];
        }

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

        return ($regionCodes === null) ? array() : $regionCodes;
    }
protected function getRegionCodesForCountryCode ( $ countryCallingCode ) { if ( ! array_key_exists ( $ countryCallingCode , $ this -> countryCallingCodeToRegionCodeMap ) ) { $ regionCodes = null ; } else { $ regionCodes = $ this -> countryCallingCodeToRegionCodeMap [ $ countryCallingCode ] ; } return ( $ regionCodes === null ) ? array ( ) : $ regionCodes ; }
Returns a list with teh region codes that match the specific country calling code. For
non-geographical country calling codes, the region code 001 is returned. Also, in the case
of no region code being found, an empty list is returned.

@param int $countryCallingCode
@return array
Returns a list with teh region codes that match the specific country calling code . For non - geographical country calling codes the region code 001 is returned . Also in the case of no region code being found an empty list is returned .