Moodle PHP Documentation 5.0
Moodle 5.0.1+ (Build: 20250711) (61af040cd5f)
libphonenumber\MatcherAPIInterface Interface Reference
Inheritance diagram for libphonenumber\MatcherAPIInterface:
libphonenumber\RegexBasedMatcher

Public Member Functions

 matchNationalNumber (string $number, PhoneNumberDesc $numberDesc, bool $allowPrefixMatch)
 Returns whether the given national number (a string containing only decimal digits) matches the national number pattern defined in the given PhoneNumberDesc message.
 

Member Function Documentation

◆ matchNationalNumber()

libphonenumber\MatcherAPIInterface::matchNationalNumber ( string $number,
PhoneNumberDesc $numberDesc,
bool $allowPrefixMatch )

Returns whether the given national number (a string containing only decimal digits) matches the national number pattern defined in the given PhoneNumberDesc message.

Implemented in libphonenumber\RegexBasedMatcher.


The documentation for this interface was generated from the following file: