public function MobileNumberUtilInterface::getCallableNumber in Mobile Number 2.0.x
Same name and namespace in other branches
- 8 src/MobileNumberUtilInterface.php \Drupal\mobile_number\MobileNumberUtilInterface::getCallableNumber()
Get international number.
Parameters
\libphonenumber\PhoneNumber $mobile_number: Phone number object.
Return value
string E.164 formatted number.
1 method overrides MobileNumberUtilInterface::getCallableNumber()
- MobileNumberUtil::getCallableNumber in src/
MobileNumberUtil.php - Get international number.
File
- src/
MobileNumberUtilInterface.php, line 106
Class
- MobileNumberUtilInterface
- Provides an interface for mobile number utility.
Namespace
Drupal\mobile_numberCode
public function getCallableNumber(PhoneNumber $mobile_number);