Inherits Faker\Provider\Base.
Inherited by Faker\Provider\ar_JO\Address, Faker\Provider\ar_SA\Address, Faker\Provider\bn_BD\Address, Faker\Provider\cs_CZ\Address, Faker\Provider\da_DK\Address, Faker\Provider\de_AT\Address, Faker\Provider\de_CH\Address, Faker\Provider\de_DE\Address, Faker\Provider\el_CY\Address, Faker\Provider\el_GR\Address, Faker\Provider\en_GB\Address, Faker\Provider\en_HK\Address, Faker\Provider\en_IN\Address, Faker\Provider\en_NG\Address, Faker\Provider\en_SG\Address, Faker\Provider\en_US\Address, Faker\Provider\es_ES\Address, Faker\Provider\fa_IR\Address, Faker\Provider\fi_FI\Address, Faker\Provider\fr_FR\Address, Faker\Provider\he_IL\Address, Faker\Provider\hr_HR\Address, Faker\Provider\hu_HU\Address, Faker\Provider\hy_AM\Address, Faker\Provider\id_ID\Address, Faker\Provider\is_IS\Address, Faker\Provider\it_IT\Address, Faker\Provider\ja_JP\Address, Faker\Provider\ka_GE\Address, Faker\Provider\kk_KZ\Address, Faker\Provider\ko_KR\Address, Faker\Provider\lt_LT\Address, Faker\Provider\lv_LV\Address, Faker\Provider\me_ME\Address, Faker\Provider\ms_MY\Address, Faker\Provider\nb_NO\Address, Faker\Provider\ne_NP\Address, Faker\Provider\nl_BE\Address, Faker\Provider\nl_NL\Address, Faker\Provider\pl_PL\Address, Faker\Provider\pt_BR\Address, Faker\Provider\pt_PT\Address, Faker\Provider\ro_MD\Address, Faker\Provider\ro_RO\Address, Faker\Provider\ru_RU\Address, Faker\Provider\sk_SK\Address, Faker\Provider\sl_SI\Address, Faker\Provider\sr_Cyrl_RS\Address, Faker\Provider\sr_Latn_RS\Address, Faker\Provider\sr_RS\Address, Faker\Provider\sv_SE\Address, Faker\Provider\th_TH\Address, Faker\Provider\tr_TR\Address, Faker\Provider\uk_UA\Address, Faker\Provider\vi_VN\Address, Faker\Provider\zh_CN\Address, and Faker\Provider\zh_TW\Address.
|
| city () |
|
| streetName () |
|
| streetAddress () |
|
| address () |
|
| __construct (Generator $generator) |
|
| optional ($weight=0.5, $default=null) |
|
| unique ($reset=false, $maxRetries=10000) |
|
| valid ($validator=null, $maxRetries=10000) |
|
|
static | citySuffix () |
|
static | streetSuffix () |
|
static | buildingNumber () |
|
static | postcode () |
|
static | country () |
|
static | latitude ($min=-90, $max=90) |
|
static | longitude ($min=-180, $max=180) |
|
static | localCoordinates () |
|
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 | $citySuffix = array('Ville') |
|
static | $streetSuffix = array('Street') |
|
static | $cityFormats |
|
static | $streetNameFormats |
|
static | $streetAddressFormats |
|
static | $addressFormats |
|
static | $buildingNumber = array('%#') |
|
static | $postcode = array('#####') |
|
static | $country = array() |
|
◆ $addressFormats
Faker\Provider\Address::$addressFormats |
|
staticprotected |
Initial value:= array(
'{{streetAddress}} {{postcode}} {{city}}',
)
◆ $cityFormats
Faker\Provider\Address::$cityFormats |
|
staticprotected |
Initial value:= array(
'{{firstName}}{{citySuffix}}',
)
◆ $streetAddressFormats
Faker\Provider\Address::$streetAddressFormats |
|
staticprotected |
Initial value:= array(
'{{buildingNumber}} {{streetName}}'
)
◆ $streetNameFormats
Faker\Provider\Address::$streetNameFormats |
|
staticprotected |
Initial value:= array(
'{{lastName}} {{streetSuffix}}'
)
The documentation for this class was generated from the following file:
- vendor/fzaninotto/faker/src/Faker/Provider/Address.php