|
| static | mobileNumber () |
| |
| static | randomDigit () |
| |
| static | randomDigitNotNull () |
| |
| static | randomDigitNot ($except) |
| |
|
static | randomNumber ($nbDigits=null, $strict=false) |
| |
|
static | randomFloat ($nbMaxDecimals=null, $min=0, $max=null) |
| |
|
static | numberBetween ($int1=0, $int2=2147483647) |
| |
| static | passthrough ($value) |
| |
| static | randomLetter () |
| |
| static | randomAscii () |
| |
| static | randomElements ($array=array('a', 'b', 'c'), $count=1, $allowDuplicates=false) |
| |
| static | randomElement ($array=array('a', 'b', 'c')) |
| |
| static | randomKey ($array=array()) |
| |
|
static | shuffle ($arg='') |
| |
|
static | shuffleArray ($array=array()) |
| |
|
static | shuffleString ($string='', $encoding='UTF-8') |
| |
| static | numerify ($string='###') |
| |
| static | lexify ($string='????') |
| |
| static | bothify ($string='## ??') |
| |
|
static | asciify ($string=' ****') |
| |
|
static | regexify ($regex='') |
| |
| static | toLower ($string='') |
| |
| static | toUpper ($string='') |
| |
|
| static | $formats |
| |
| static | $mobileFormats |
| |
|
static | $formats = array('###-###-###') |
| |
|
|
| phoneNumber () |
| |
|
| e164PhoneNumber () |
| |
|
| imei () |
| |
| | __construct (Generator $generator) |
| |
| | optional ($weight=0.5, $default=null) |
| |
| | unique ($reset=false, $maxRetries=10000) |
| |
| | valid ($validator=null, $maxRetries=10000) |
| |
|
| $generator |
| |
|
| $unique |
| |
◆ mobileNumber()
| static Faker\Provider\de_CH\PhoneNumber::mobileNumber |
( |
| ) |
|
|
static |
Return a Swiss mobile phone number.
- Returns
- string
◆ $formats
| Faker\Provider\de_CH\PhoneNumber::$formats |
|
staticprotected |
Initial value:= array(
'+41 (0)## ### ## ##',
'+41(0)#########',
'+41 ## ### ## ##',
'0#########',
'0## ### ## ##',
)
◆ $mobileFormats
| Faker\Provider\de_CH\PhoneNumber::$mobileFormats |
|
staticprotected |
Initial value:= array(
'075 ### ## ##',
'075#######',
'076 ### ## ##',
'076#######',
'077 ### ## ##',
'077#######',
'078 ### ## ##',
'078#######',
'079 ### ## ##',
'079#######',
)
The documentation for this class was generated from the following file:
- vendor/fzaninotto/faker/src/Faker/Provider/de_CH/PhoneNumber.php