|
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 | ) |
|
Gets phone metadata for a non-geographical region.
- Parameters
-
int | $countryCallingCode | the country calling code. |
- Return values
-
PhoneMetadata | the phone metadata for that region, or null if there is none. |
Implements libphonenumber\MetadataSourceInterface.
◆ getMetadataForRegion()
libphonenumber\MultiFileMetadataSourceImpl::getMetadataForRegion |
( |
string | $regionCode | ) |
|
◆ $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