PHP 인터페이스 libphonenumber\MetadataSourceInterface

파일 보기 프로젝트 열기: giggsey/libphonenumber-for-php

공개 메소드들

메소드 설명
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.