PHP Интерфейс libphonenumber\MetadataSourceInterface

Показать файл Открыть проект

Открытые методы

Метод Описание
getMetadataForNonGeographicalRegion ( integer $countryCallingCode ) : PhoneMetadata Gets phone metadata for a non-geographical region.
getMetadataForRegion ( string $regionCode ) : PhoneMetadata Gets phone metadata for a region.

Описание методов

getMetadataForNonGeographicalRegion() публичный Метод

Gets phone metadata for a non-geographical region.
public getMetadataForNonGeographicalRegion ( integer $countryCallingCode ) : PhoneMetadata
$countryCallingCode integer the country calling code.
Результат PhoneMetadata the phone metadata for that region, or null if there is none.

getMetadataForRegion() публичный Метод

Gets phone metadata for a region.
public getMetadataForRegion ( string $regionCode ) : PhoneMetadata
$regionCode string the region code.
Результат PhoneMetadata the phone metadata for that region, or null if there is none.