commit vendor
This commit is contained in:
22
vendor/laminas/laminas-i18n/src/Validator/PhoneNumber/CD.php
vendored
Normal file
22
vendor/laminas/laminas-i18n/src/Validator/PhoneNumber/CD.php
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @see https://github.com/laminas/laminas-i18n for the canonical source repository
|
||||
* @copyright https://github.com/laminas/laminas-i18n/blob/master/COPYRIGHT.md
|
||||
* @license https://github.com/laminas/laminas-i18n/blob/master/LICENSE.md New BSD License
|
||||
*/
|
||||
|
||||
return [
|
||||
'code' => '243',
|
||||
'patterns' => [
|
||||
'national' => [
|
||||
'general' => '/^(?:[1-6]\\d{6}|8\\d{6,8}|9\\d{8})$/',
|
||||
'fixed' => '/^[1-6]\\d{6}$/',
|
||||
'mobile' => '/^(?:8(?:[0-259]\\d{2}|[48])\\d{5}|9[7-9]\\d{7})$/',
|
||||
],
|
||||
'possible' => [
|
||||
'general' => '/^\\d{7,9}$/',
|
||||
'fixed' => '/^\\d{7}$/',
|
||||
],
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user