mirror of
https://github.com/fzaninotto/Faker.git
synced 2025-04-21 16:01:56 +02:00
add titleMale and titleFemale method to all Person classes
This commit is contained in:
parent
06ac73da65
commit
3cbde5101a
@ -12,6 +12,10 @@ class Person extends \Faker\Provider\Person
|
||||
'{{lastName}}{{firstNameFemale}}',
|
||||
);
|
||||
|
||||
protected static $titleMale = array('先生', '医生', '老师', '教授', '律师', '经理');
|
||||
|
||||
protected static $titleFemale = array('女士', '小姐', '夫人', '太太', '医生', '老师', '教授', '律师', '经理');
|
||||
|
||||
/**
|
||||
* According to http://baike.baidu.com/view/6109935.htm,
|
||||
* these are the top 300 lastnames from the 6th Chinese national census of population,
|
||||
|
Loading…
x
Reference in New Issue
Block a user