PHP Class libphonenumber\Matcher
Note that this is NOT the same as google's java PhoneNumberMatcher class.
This class is a minimal port of java's built-in matcher class, whereas PhoneNumberMatcher
is designed to recognize phone numbers embedded in any text.
Mostra file
Open project: giggsey/libphonenumber-for-php
Class Usage Examples
Protected Properties
Public Methods
Protected Methods
Method |
Description |
|
doMatch ( $type = 'find' ) |
|
|
Method Details
__construct()
public method
doMatch()
protected method
protected doMatch ( $type = 'find' ) |
groupCount()
public method
lookingAt()
public method
replaceAll()
public method
replaceFirst()
public method
public start ( $group = null ) |
Property Details
$groups protected_oe property
protected array $groups |
return |
array |
|
$pattern protected_oe property
protected string $pattern |
return |
string |
|
$subject protected_oe property
protected string $subject |
return |
string |
|