|
Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
|
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. | |
Static Public Member Functions | |
| static | create () |
| libphonenumber\RegexBasedMatcher::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.
Implements libphonenumber\MatcherAPIInterface.