REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 1.47 KB
Close
/home/byroehnu/easetack.com/vendor/fakerphp/faker/src/Faker/Provider/sv_SE/PhoneNumber.php
Text
Base64
<?php namespace Faker\Provider\sv_SE; /** * @see https://www.pts.se/sv/bransch/telefoni/nummer-och-adressering/telefoninummerplanen/telefonnummers-struktur/ */ class PhoneNumber extends \Faker\Provider\PhoneNumber { /** * @var array Swedish phone number formats */ protected static $formats = [ '08-### ### ##', '0%#-### ## ##', '0%########', '+46 (0)%## ### ###', '+46(0)%########', '+46 %## ### ###', '+46%########', '08-### ## ##', '0%#-## ## ##', '0%##-### ##', '0%#######', '+46 (0)8 ### ## ##', '+46 (0)%# ## ## ##', '+46 (0)%## ### ##', '+46 (0)%#######', '+46(0)%#######', '+46%#######', '08-## ## ##', '0%#-### ###', '0%#######', '+46 (0)%######', '+46(0)%######', '+46%######', ]; /** * @var array<int, string> Swedish mobile number formats */ protected static array $mobileFormats = [ '+467########', '+46(0)7########', '+46 (0)7## ## ## ##', '+46 (0)7## ### ###', '07## ## ## ##', '07## ### ###', '07##-## ## ##', '07##-### ###', '07# ### ## ##', '07#-### ## ##', '07#-#######', ]; public function mobileNumber(): string { $format = static::randomElement(static::$mobileFormats); return self::numerify($this->generator->parse($format)); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 6
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
Address.php
30.21 KB
lrw-rw-rw-
2024-11-21 13:46:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Company.php
1.04 KB
lrw-rw-rw-
2024-11-21 13:46:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Municipality.php
6.02 KB
lrw-rw-rw-
2024-11-21 13:46:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Payment.php
682 B
lrw-rw-rw-
2024-11-21 13:46:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Person.php
14.49 KB
lrw-rw-rw-
2024-11-21 13:46:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
PhoneNumber.php
1.47 KB
lrw-rw-rw-
2024-11-21 13:46:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).