private function normalizePhoneNumber(string $phoneNumber): string
    {
        $utils = PhoneNumberUtil::getInstance();
        $parsed = $utils->parse(preg_replace('/^00/', '+', $phoneNumber), null);

        $phoneNumber = $utils->format($parsed, PhoneNumberFormat::E164);

        return substr($phoneNumber, 1);
    }
private function normalizePhoneNumber(string $phoneNumber): string
    {
        $utils = PhoneNumberUtil::getInstance();
        $parsed = $utils->parse(preg_replace('/^00/', '+', $phoneNumber), null);

        $phoneNumber = $utils->format($parsed, PhoneNumberFormat::E164);

        return substr($phoneNumber, 1);
    }
private function normalizePhoneNumber ( string $ phoneNumber ) : string { $ utils = PhoneNumberUtil :: getInstance ( ) ; $ parsed = $ utils -> parse ( preg_replace ( '/^00/' , '+' , $ phoneNumber ) , null ) ; $ phoneNumber = $ utils -> format ( $ parsed , PhoneNumberFormat :: E164 ) ; return substr ( $ phoneNumber , 1 ) ; }
Normalizes the phoneNumber.

@param string $phoneNumber

@return string

@throws NumberParseException
Normalizes the phoneNumber .