/** * Used for testing purposes only to reset the PhoneNumberUtil singleton to null. */ public static function resetInstance() { self::$instance = null; }
private static function initExtnPattern() { self::$EXTN_PATTERN = "/(?:" . self::$EXTN_PATTERNS_FOR_PARSING . ")\$/" . self::REGEX_FLAGS; }