PHP Interface libphonenumber\MetadataSourceInterface

Mostrar archivo Open project: giggsey/libphonenumber-for-php

Public Methods

Method 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 method

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

getMetadataForRegion() public method

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