| 1 |
<?php |
| 2 |
|
| 3 |
namespace libphonenumber; |
| 4 |
|
| 5 |
interface MetadataSourceInterface |
| 6 |
{ |
| 7 |
/** |
| 8 |
* Gets phone metadata for a region. |
| 9 |
* @param string $regionCode the region code. |
| 10 |
* @return PhoneMetadata the phone metadata for that region, or null if there is none. |
| 11 |
*/ |
| 12 |
public function getMetadataForRegion($regionCode); |
| 13 |
|
| 14 |
/** |
| 15 |
* Gets phone metadata for a non-geographical region. |
| 16 |
* @param int $countryCallingCode the country calling code. |
| 17 |
* @return PhoneMetadata the phone metadata for that region, or null if there is none. |
| 18 |
*/ |
| 19 |
public function getMetadataForNonGeographicalRegion($countryCallingCode); |
| 20 |
} |
| 21 |
|