# payplug/1.2.2/lib/libphonenumber/MatcherAPIInterface.php

PayPlug for WooCommerce (Official), version 1.2.2. 27 lines.

- Page: https://pluginprobe.com/plugins/payplug/1.2.2/code/lib/libphonenumber/MatcherAPIInterface.php
- Raw: https://pluginprobe.com/plugins/payplug/1.2.2/raw/lib/libphonenumber/MatcherAPIInterface.php
- Modified: 2019-09-06T13:54:48+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/payplug/1.2.2/code/lib/libphonenumber/MatcherAPIInterface.php#L10-L20`.

```php
<?php

namespace libphonenumber;

/**
 * Interface MatcherAPIInterface
 *
 * Internal phonenumber matching API used to isolate the underlying implementation of the
 * matcher and allow different implementations to be swapped in easily.
 *
 * @package libphonenumber
 * @internal
 */
interface MatcherAPIInterface
{
    /**
     * Returns whether the given national number (a string containing only decimal digits) matches
     * the national number pattern defined in the given {@code PhoneNumberDesc} message.
     *
     * @param string $number
     * @param PhoneNumberDesc $numberDesc
     * @param boolean $allowPrefixMatch
     * @return boolean
     */
    public function matchNationalNumber($number, PhoneNumberDesc $numberDesc, $allowPrefixMatch);
}

```
