libphonenumber\ShortNumberInfo::__construct PHP Méthode

__construct() protected méthode

protected __construct ( libphonenumber\MatcherAPIInterface $matcherAPI )
$matcherAPI libphonenumber\MatcherAPIInterface
    protected function __construct(MatcherAPIInterface $matcherAPI)
    {
        $this->matcherAPI = $matcherAPI;
        // TODO: Create ShortNumberInfo for a given map
        $this->countryCallingCodeToRegionCodeMap = CountryCodeToRegionCodeMap::$countryCodeToRegionCodeMap;
        $this->currentFilePrefix = dirname(__FILE__) . '/data/' . static::META_DATA_FILE_PREFIX;
        // Initialise PhoneNumberUtil to make sure regex's are setup correctly
        PhoneNumberUtil::getInstance();
    }