public function format(int $format) : string
    {
        return PhoneNumberUtil::getInstance()->format($this->phoneNumber, $format);
    }
public function format(int $format) : string
    {
        return PhoneNumberUtil::getInstance()->format($this->phoneNumber, $format);
    }
public function format ( int $ format ) : string { return PhoneNumberUtil :: getInstance ( ) -> format ( $ this -> phoneNumber , $ format ) ; }
Returns a formatted string representation of this phone number.

@param int $format One of the PhoneNumberFormat constants.

@return string
Returns a formatted string representation of this phone number .