mirror of
https://github.com/fzaninotto/Faker.git
synced 2025-03-22 00:09:59 +01:00
Added en_GB PhoneNumber provider
This commit is contained in:
parent
52897b8b52
commit
24533417c3
@ -1,35 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace Faker\Provider\en_US;
|
||||
namespace Faker\Provider\en_GB;
|
||||
|
||||
require_once __DIR__ . '/../PhoneNumber.php';
|
||||
|
||||
class PhoneNumber extends \Faker\Provider\PhoneNumber
|
||||
{
|
||||
protected static $formats = array(
|
||||
'+##(#)##########',
|
||||
'+##(#)##########',
|
||||
'+44(0)##########',
|
||||
'+44(0)#### ######',
|
||||
'+44(0)#########',
|
||||
'+44(0)#### #####',
|
||||
'0##########',
|
||||
'0##########',
|
||||
'###-###-####',
|
||||
'(###)###-####',
|
||||
'1-###-###-####',
|
||||
'###.###.####',
|
||||
'###-###-####',
|
||||
'(###)###-####',
|
||||
'1-###-###-####',
|
||||
'###.###.####',
|
||||
'###-###-####x###',
|
||||
'(###)###-####x###',
|
||||
'1-###-###-####x###',
|
||||
'###.###.####x###',
|
||||
'###-###-####x####',
|
||||
'(###)###-####x####',
|
||||
'1-###-###-####x####',
|
||||
'###.###.####x####',
|
||||
'###-###-####x#####',
|
||||
'(###)###-####x#####',
|
||||
'1-###-###-####x#####',
|
||||
'###.###.####x#####'
|
||||
'0#########',
|
||||
'0#### ######',
|
||||
'0#### #####',
|
||||
'(0####) ######',
|
||||
'(0####) #####',
|
||||
|
||||
);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user