![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/ledger.corals.io/vendor/fzaninotto/faker/src/Faker/Provider/el_GR/ |
<?php namespace Faker\Provider\el_GR; class PhoneNumber extends \Faker\Provider\PhoneNumber { /** * @link https://en.wikipedia.org/wiki/Telephone_numbers_in_Greece */ protected static $formats = array( // International formats '+30 2# ########', '+30 2## #######', '+30 2### ######', '+302#########', '+3069########', '+30 69 ########', '+30 69########', '+30 69# #######', '+30 69# ### ####', '+30 69# #### ###', '+30 69## ######', '+30 69## ## ## ##', '+30 69## ### ###', // Standard format '2#########', '2## #######', '2### ######', '69########', '69# #######', '69# ### ####', '69# #### ###', '69## ######', '69## ## ## ##', '69## ### ###', ); protected static $mobileFormats = array( // International formats '+3069########', '+30 69########', '+30 69# #######', '+30 69# ### ####', '+30 69# #### ###', '+30 69## ######', '+30 69## ## ## ##', '+30 69## ### ###', // Standard formats '69########', '69# #######', '69# ### ####', '69# #### ###', '69## ######', '69## ## ## ##', '69## ### ###', ); public static function mobilePhoneNumber() { return static::numerify(static::randomElement(static::$mobileFormats)); } protected static $tollFreeFormats = array( // International formats '+30 800#######', '+30 800 #######', '+30 800 ## #####', '+30 800 ### ####', // Standard formats '800#######', '800 #######', '800 ## #####', '800 ### ####', ); public static function tollFreeNumber() { return static::numerify(static::randomElement(static::$tollFreeFormats)); } }