PHP Interface libphonenumber\MetadataSourceInterface

Afficher le fichier Open project: giggsey/libphonenumber-for-php

Méthodes publiques

Méthode Description
getMetadataForNonGeographicalRegion ( integer $countryCallingCode ) : PhoneMetadata Gets phone metadata for a non-geographical region.
getMetadataForRegion ( string $regionCode ) : PhoneMetadata Gets phone metadata for a region.

Method Details

getMetadataForNonGeographicalRegion() public méthode

Gets phone metadata for a non-geographical region.
public getMetadataForNonGeographicalRegion ( integer $countryCallingCode ) : PhoneMetadata
$countryCallingCode integer the country calling code.
Résultat PhoneMetadata the phone metadata for that region, or null if there is none.

getMetadataForRegion() public méthode

Gets phone metadata for a region.
public getMetadataForRegion ( string $regionCode ) : PhoneMetadata
$regionCode string the region code.
Résultat PhoneMetadata the phone metadata for that region, or null if there is none.