You are here

public function MobileNumberUtilInterface::getLocalNumber in Mobile Number 8

Same name and namespace in other branches
  1. 2.0.x src/MobileNumberUtilInterface.php \Drupal\mobile_number\MobileNumberUtilInterface::getLocalNumber()

Get national number.

Parameters

\libphonenumber\PhoneNumber $mobile_number: Phone number object.

Return value

string National number.

1 method overrides MobileNumberUtilInterface::getLocalNumber()
MobileNumberUtil::getLocalNumber in src/MobileNumberUtil.php
Get national number.

File

src/MobileNumberUtilInterface.php, line 139

Class

MobileNumberUtilInterface
Provides an interface for mobile number utility.

Namespace

Drupal\mobile_number

Code

public function getLocalNumber(PhoneNumber $mobile_number);