X7ROOT File Manager
Current Path:
/home/prisjneg/public_html/vendor/fakerphp/faker/src/Faker/Provider
home
/
prisjneg
/
public_html
/
vendor
/
fakerphp
/
faker
/
src
/
Faker
/
Provider
/
📁
..
📄
Address.php
(3.49 KB)
📄
Barcode.php
(2.19 KB)
📄
Base.php
(22.2 KB)
📄
Biased.php
(1.79 KB)
📄
Color.php
(4.64 KB)
📄
Company.php
(901 B)
📄
DateTime.php
(12.1 KB)
📄
File.php
(25.1 KB)
📄
HtmlLorem.php
(9.98 KB)
📄
Image.php
(6 KB)
📄
Internet.php
(17.17 KB)
📄
Lorem.php
(7.7 KB)
📄
Medical.php
(648 B)
📄
Miscellaneous.php
(13.21 KB)
📄
Payment.php
(10.42 KB)
📄
Person.php
(3.23 KB)
📄
PhoneNumber.php
(6.45 KB)
📄
Text.php
(6.65 KB)
📄
UserAgent.php
(8.46 KB)
📄
Uuid.php
(1.78 KB)
📁
ar_EG
📁
ar_JO
📁
ar_SA
📁
at_AT
📁
bg_BG
📁
bn_BD
📁
cs_CZ
📁
da_DK
📁
de_AT
📁
de_CH
📁
de_DE
📁
el_CY
📁
el_GR
📁
en_AU
📁
en_CA
📁
en_GB
📁
en_HK
📁
en_IN
📁
en_NG
📁
en_NZ
📁
en_PH
📁
en_SG
📁
en_UG
📁
en_US
📁
en_ZA
📁
es_AR
📁
es_ES
📁
es_PE
📁
es_VE
📁
et_EE
📁
fa_IR
📁
fi_FI
📁
fr_BE
📁
fr_CA
📁
fr_CH
📁
fr_FR
📁
he_IL
📁
hr_HR
📁
hu_HU
📁
hy_AM
📁
id_ID
📁
is_IS
📁
it_CH
📁
it_IT
📁
ja_JP
📁
ka_GE
📁
kk_KZ
📁
ko_KR
📁
lt_LT
📁
lv_LV
📁
me_ME
📁
mn_MN
📁
ms_MY
📁
nb_NO
📁
ne_NP
📁
nl_BE
📁
nl_NL
📁
pl_PL
📁
pt_BR
📁
pt_PT
📁
ro_MD
📁
ro_RO
📁
ru_RU
📁
sk_SK
📁
sl_SI
📁
sr_Cyrl_RS
📁
sr_Latn_RS
📁
sr_RS
📁
sv_SE
📁
th_TH
📁
tr_TR
📁
uk_UA
📁
vi_VN
📁
zh_CN
📁
zh_TW
Editing: Person.php
<?php namespace Faker\Provider; class Person extends Base { public const GENDER_MALE = 'male'; public const GENDER_FEMALE = 'female'; protected static $titleFormat = [ '{{titleMale}}', '{{titleFemale}}', ]; protected static $firstNameFormat = [ '{{firstNameMale}}', '{{firstNameFemale}}', ]; protected static $maleNameFormats = [ '{{firstNameMale}} {{lastName}}', ]; protected static $femaleNameFormats = [ '{{firstNameFemale}} {{lastName}}', ]; protected static $firstNameMale = [ 'John', ]; protected static $firstNameFemale = [ 'Jane', ]; protected static $lastName = ['Doe']; protected static $titleMale = ['Mr.', 'Dr.', 'Prof.']; protected static $titleFemale = ['Mrs.', 'Ms.', 'Miss', 'Dr.', 'Prof.']; /** * @param string|null $gender 'male', 'female' or null for any * * @return string * * @example 'John Doe' */ public function name($gender = null) { if ($gender === static::GENDER_MALE) { $format = static::randomElement(static::$maleNameFormats); } elseif ($gender === static::GENDER_FEMALE) { $format = static::randomElement(static::$femaleNameFormats); } else { $format = static::randomElement(array_merge(static::$maleNameFormats, static::$femaleNameFormats)); } return $this->generator->parse($format); } /** * @param string|null $gender 'male', 'female' or null for any * * @return string * * @example 'John' */ public function firstName($gender = null) { if ($gender === static::GENDER_MALE) { return static::firstNameMale(); } if ($gender === static::GENDER_FEMALE) { return static::firstNameFemale(); } return $this->generator->parse(static::randomElement(static::$firstNameFormat)); } /** * @return string */ public static function firstNameMale() { return static::randomElement(static::$firstNameMale); } /** * @return string */ public static function firstNameFemale() { return static::randomElement(static::$firstNameFemale); } /** * @example 'Doe' * * @return string */ public function lastName() { return static::randomElement(static::$lastName); } /** * @example 'Mrs.' * * @param string|null $gender 'male', 'female' or null for any * * @return string */ public function title($gender = null) { if ($gender === static::GENDER_MALE) { return static::titleMale(); } if ($gender === static::GENDER_FEMALE) { return static::titleFemale(); } return $this->generator->parse(static::randomElement(static::$titleFormat)); } /** * @example 'Mr.' * * @return string */ public static function titleMale() { return static::randomElement(static::$titleMale); } /** * @example 'Mrs.' * * @return string */ public static function titleFemale() { return static::randomElement(static::$titleFemale); } }
Upload File
Create Folder