public function formatForCallingFrom(string $regionCode) : string
    {
        return PhoneNumberUtil::getInstance()->formatOutOfCountryCallingNumber($this->phoneNumber, $regionCode);
    }
public function formatForCallingFrom(string $regionCode) : string
    {
        return PhoneNumberUtil::getInstance()->formatOutOfCountryCallingNumber($this->phoneNumber, $regionCode);
    }
public function formatForCallingFrom ( string $ regionCode ) : string { return PhoneNumberUtil :: getInstance ( ) -> formatOutOfCountryCallingNumber ( $ this -> phoneNumber , $ regionCode ) ; }
Formats this phone number for out-of-country dialing purposes.

@param string $regionCode The ISO 3166-1 alpha-2 country code

@return string
Formats this phone number for out - of - country dialing purposes .