Files
faveo/code/vendor/giggsey/libphonenumber-for-php/src/libphonenumber/MetadataSourceInterface.php
2015-10-23 14:15:29 +05:30

22 lines
634 B
PHP

<?php
namespace libphonenumber;
interface MetadataSourceInterface
{
/**
* Gets phone metadata for a region.
* @param string $regionCode the region code.
* @return PhoneMetadata the phone metadata for that region, or null if there is none.
*/
public function getMetadataForRegion($regionCode);
/**
* Gets phone metadata for a non-geographical region.
* @param int $countryCallingCode the country calling code.
* @return PhoneMetadata the phone metadata for that region, or null if there is none.
*/
public function getMetadataForNonGeographicalRegion($countryCallingCode);
}