|
PhoneMetadata[] array | $countryCodeToNonGeographicalMetadataMap = [] |
| A mapping from a country calling code for a non-geographical entity to the PhoneMetadata for that country calling code.
|
|
string | $currentFilePrefix |
| The prefix of the metadata files from which region data is loaded.
|
|
PhoneMetadata[] array | $regionToMetadataMap = [] |
| A mapping from a region code to the PhoneMetadata for that region.
|
|
|
static string | $metaDataFilePrefix = PhoneNumberUtil::META_DATA_FILE_PREFIX |
|
◆ getMetadataForNonGeographicalRegion()
libphonenumber\MultiFileMetadataSourceImpl::getMetadataForNonGeographicalRegion |
( |
int | $countryCallingCode | ) |
|
◆ getMetadataForRegion()
libphonenumber\MultiFileMetadataSourceImpl::getMetadataForRegion |
( |
string | $regionCode | ) |
|
◆ loadMetadataFromFile()
libphonenumber\MultiFileMetadataSourceImpl::loadMetadataFromFile |
( |
string | $filePrefix, |
|
|
string | $regionCode, |
|
|
int | $countryCallingCode, |
|
|
MetadataLoaderInterface | $metadataLoader ) |
- Parameters
-
string | $filePrefix | |
string | $regionCode | |
int | $countryCallingCode | |
MetadataLoaderInterface | $metadataLoader | |
◆ $countryCodeToNonGeographicalMetadataMap
PhoneMetadata [] array libphonenumber\MultiFileMetadataSourceImpl::$countryCodeToNonGeographicalMetadataMap = [] |
|
protected |
A mapping from a country calling code for a non-geographical entity to the PhoneMetadata for that country calling code.
Examples of the country calling codes include 800 (International Toll Free Service) and 808 (International Shared Cost Service).
The documentation for this class was generated from the following file:
- lib/giggsey/libphonenumber-for-php-lite/src/MultiFileMetadataSourceImpl.php