Inherits Faker\Provider\Base.
Inherited by Faker\Provider\ar_JO\Person, Faker\Provider\ar_SA\Person, Faker\Provider\bg_BG\Person, Faker\Provider\bn_BD\Person, Faker\Provider\cs_CZ\Person, Faker\Provider\da_DK\Person, Faker\Provider\de_AT\Person, Faker\Provider\de_DE\Person, Faker\Provider\el_CY\Person, Faker\Provider\el_GR\Person, Faker\Provider\en_GB\Person, Faker\Provider\en_IN\Person, Faker\Provider\en_NG\Person, Faker\Provider\en_UG\Person, Faker\Provider\en_US\Person, Faker\Provider\en_ZA\Person, Faker\Provider\es_AR\Person, Faker\Provider\es_ES\Person, Faker\Provider\es_PE\Person, Faker\Provider\es_VE\Person, Faker\Provider\et_EE\Person, Faker\Provider\fa_IR\Person, Faker\Provider\fi_FI\Person, Faker\Provider\fr_BE\Person, Faker\Provider\fr_CA\Person, Faker\Provider\fr_FR\Person, Faker\Provider\he_IL\Person, Faker\Provider\hr_HR\Person, Faker\Provider\hu_HU\Person, Faker\Provider\hy_AM\Person, Faker\Provider\id_ID\Person, Faker\Provider\is_IS\Person, Faker\Provider\it_IT\Person, Faker\Provider\ja_JP\Person, Faker\Provider\ka_GE\Person, Faker\Provider\kk_KZ\Person, Faker\Provider\ko_KR\Person, Faker\Provider\lt_LT\Person, Faker\Provider\lv_LV\Person, Faker\Provider\me_ME\Person, Faker\Provider\mn_MN\Person, Faker\Provider\ms_MY\Person, Faker\Provider\nb_NO\Person, Faker\Provider\ne_NP\Person, Faker\Provider\nl_BE\Person, Faker\Provider\nl_NL\Person, Faker\Provider\pl_PL\Person, Faker\Provider\pt_BR\Person, Faker\Provider\pt_PT\Person, Faker\Provider\ro_MD\Person, Faker\Provider\ro_RO\Person, Faker\Provider\ru_RU\Person, Faker\Provider\sk_SK\Person, Faker\Provider\sl_SI\Person, Faker\Provider\sr_Cyrl_RS\Person, Faker\Provider\sr_Latn_RS\Person, Faker\Provider\sr_RS\Person, Faker\Provider\sv_SE\Person, Faker\Provider\th_TH\Person, Faker\Provider\tr_TR\Person, Faker\Provider\uk_UA\Person, Faker\Provider\vi_VN\Person, Faker\Provider\zh_CN\Person, and Faker\Provider\zh_TW\Person.
|
| name ($gender=null) |
|
| firstName ($gender=null) |
|
| lastName () |
|
| title ($gender=null) |
|
| __construct (Generator $generator) |
|
| optional ($weight=0.5, $default=null) |
|
| unique ($reset=false, $maxRetries=10000) |
|
| valid ($validator=null, $maxRetries=10000) |
|
|
static | firstNameMale () |
|
static | firstNameFemale () |
|
static | titleMale () |
|
static | titleFemale () |
|
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='') |
|
|
const | GENDER_MALE = 'male' |
|
const | GENDER_FEMALE = 'female' |
|
|
static | $titleFormat |
|
static | $firstNameFormat |
|
static | $maleNameFormats |
|
static | $femaleNameFormats |
|
static | $firstNameMale |
|
static | $firstNameFemale |
|
static | $lastName = array('Doe') |
|
static | $titleMale = array('Mr.', 'Dr.', 'Prof.') |
|
static | $titleFemale = array('Mrs.', 'Ms.', 'Miss', 'Dr.', 'Prof.') |
|
◆ $femaleNameFormats
Faker\Provider\Person::$femaleNameFormats |
|
staticprotected |
Initial value:= array(
'{{firstNameFemale}} {{lastName}}',
)
◆ $firstNameFemale
Faker\Provider\Person::$firstNameFemale |
|
staticprotected |
◆ $firstNameFormat
Faker\Provider\Person::$firstNameFormat |
|
staticprotected |
Initial value:= array(
'{{firstNameMale}}',
'{{firstNameFemale}}',
)
◆ $firstNameMale
Faker\Provider\Person::$firstNameMale |
|
staticprotected |
◆ $maleNameFormats
Faker\Provider\Person::$maleNameFormats |
|
staticprotected |
Initial value:= array(
'{{firstNameMale}} {{lastName}}',
)
◆ $titleFormat
Faker\Provider\Person::$titleFormat |
|
staticprotected |
Initial value:= array(
'{{titleMale}}',
'{{titleFemale}}',
)
The documentation for this class was generated from the following file:
- vendor/fzaninotto/faker/src/Faker/Provider/Person.php