Address.php
5 years ago
Company.php
5 years ago
Payment.php
5 years ago
Person.php
5 years ago
PhoneNumber.php
5 years ago
PhoneNumber.php
38 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Faker\Provider\sv_SE; |
| 4 | |
| 5 | class PhoneNumber extends \Faker\Provider\PhoneNumber |
| 6 | { |
| 7 | /** |
| 8 | * @var array Swedish phone number formats |
| 9 | */ |
| 10 | protected static $formats = array( |
| 11 | '08-### ### ##', |
| 12 | '0%#-### ## ##', |
| 13 | '0%########', |
| 14 | '+46 (0)%## ### ###', |
| 15 | '+46(0)%########', |
| 16 | '+46 %## ### ###', |
| 17 | '+46%########', |
| 18 | |
| 19 | '08-### ## ##', |
| 20 | '0%#-## ## ##', |
| 21 | '0%##-### ##', |
| 22 | '0%#######', |
| 23 | '+46 (0)8 ### ## ##', |
| 24 | '+46 (0)%# ## ## ##', |
| 25 | '+46 (0)%## ### ##', |
| 26 | '+46 (0)%#######', |
| 27 | '+46(0)%#######', |
| 28 | '+46%#######', |
| 29 | |
| 30 | '08-## ## ##', |
| 31 | '0%#-### ###', |
| 32 | '0%#######', |
| 33 | '+46 (0)%######', |
| 34 | '+46(0)%######', |
| 35 | '+46%######', |
| 36 | ); |
| 37 | } |
| 38 |