Lggr
Public Member Functions | Static Protected Attributes | List of all members
Faker\Provider\en_SG\PhoneNumber Class Reference
Inheritance diagram for Faker\Provider\en_SG\PhoneNumber:
Inheritance graph
[legend]
Collaboration diagram for Faker\Provider\en_SG\PhoneNumber:
Collaboration graph
[legend]

Public Member Functions

 tollFreeInternationalNumber ()
 
 tollFreeLineNumber ()
 
 premiumPhoneNumber ()
 
 mobileNumber ()
 
 fixedLineNumber ()
 
 voipNumber ()
 
 internationalCodePrefix ()
 
 zeroToEight ()
 
 oneToEight ()
 
- Public Member Functions inherited from Faker\Provider\PhoneNumber
 phoneNumber ()
 
 e164PhoneNumber ()
 
 imei ()
 
- Public Member Functions inherited from Faker\Provider\Base
 __construct (Generator $generator)
 
 optional ($weight=0.5, $default=null)
 
 unique ($reset=false, $maxRetries=10000)
 
 valid ($validator=null, $maxRetries=10000)
 

Static Protected Attributes

static $internationalCodePrefix
 
static $zeroToEight = array(0, 1, 2, 3, 4, 5, 6, 7, 8)
 
static $oneToEight = array(1, 2, 3, 4, 5, 6, 7, 8)
 
static $mobileNumberFormats
 
static $fixedLineNumberFormats
 
static $formats
 
static $voipNumber
 
static $tollFreeInternationalNumber
 
static $tollFreeLineNumber
 
static $premiumPhoneNumber
 
- Static Protected Attributes inherited from Faker\Provider\PhoneNumber
static $formats = array('###-###-###')
 

Additional Inherited Members

- Static Public Member Functions inherited from Faker\Provider\Base
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='')
 
- Protected Attributes inherited from Faker\Provider\Base
 $generator
 
 $unique
 

Member Data Documentation

◆ $fixedLineNumberFormats

Faker\Provider\en_SG\PhoneNumber::$fixedLineNumberFormats
staticprotected
Initial value:
= array(
'{{internationalCodePrefix}}6### ####',
'{{internationalCodePrefix}} 6### ####',
'6### ####',
)

◆ $formats

Faker\Provider\en_SG\PhoneNumber::$formats
staticprotected
Initial value:
= array(
'{{mobileNumber}}',
'{{fixedLineNumber}}',
)

◆ $internationalCodePrefix

Faker\Provider\en_SG\PhoneNumber::$internationalCodePrefix
staticprotected
Initial value:
= array(
'+65',
'65',
)

◆ $mobileNumberFormats

Faker\Provider\en_SG\PhoneNumber::$mobileNumberFormats
staticprotected
Initial value:
= array(
'{{internationalCodePrefix}}9{{zeroToEight}}## ####',
'{{internationalCodePrefix}} 9{{zeroToEight}}## ####',
'9{{zeroToEight}}## ####',
'{{internationalCodePrefix}}8{{oneToEight}}## ####',
'{{internationalCodePrefix}} 8{{oneToEight}}## ####',
'8{{oneToEight}}## ####',
)

◆ $premiumPhoneNumber

Faker\Provider\en_SG\PhoneNumber::$premiumPhoneNumber
staticprotected
Initial value:
= array(
'1900 ### ####'
)

◆ $tollFreeInternationalNumber

Faker\Provider\en_SG\PhoneNumber::$tollFreeInternationalNumber
staticprotected
Initial value:
= array(
'800 ### ####'
)

◆ $tollFreeLineNumber

Faker\Provider\en_SG\PhoneNumber::$tollFreeLineNumber
staticprotected
Initial value:
= array(
'1800 ### ####'
)

◆ $voipNumber

Faker\Provider\en_SG\PhoneNumber::$voipNumber
staticprotected
Initial value:
= array(
'{{internationalCodePrefix}}3### ####',
'{{internationalCodePrefix}} 3### ####',
'3### ####',
)

The documentation for this class was generated from the following file: