|
| __construct (int $start, string $rawString, private PhoneNumber $number) |
| Creates a new match.
|
|
| __toString () |
|
| end () |
| Returns the exclusive end index of the matched phone number within the searched text.
|
|
| number () |
| Returns the phone number matched by the receiver.
|
|
| rawString () |
| Returns the raw string matched as a phone number in the searched text.
|
|
| start () |
| Returns the start index of the matched phone number within the searched text.
|
|
◆ __construct()
libphonenumber\PhoneNumberMatch::__construct |
( |
int | $start, |
|
|
string | $rawString, |
|
|
private PhoneNumber | $number ) |
Creates a new match.
- Parameters
-
int | $start | The start index into the target text |
string | $rawString | The matched substring of the target text |
PhoneNumber | $number | The matched phone number |
The documentation for this class was generated from the following file:
- lib/giggsey/libphonenumber-for-php-lite/src/PhoneNumberMatch.php