Formats a phone number in national format for dialing using the carrier as specified in the
{@code carrierCode}. The {@code carrierCode} will always be used regardless of whether the
phone number already has a preferred domestic carrier code stored. If {@code carrierCode}
contains an empty string, returns the number in national format without any carrier code.
public formatNationalNumberWithCarrierCode ( |
||
$number | the phone number to be formatted | |
$carrierCode | string | the carrier selection code to be used |
Результат | string | the formatted phone number in national format for dialing using the carrier as specified in the {@code carrierCode} |