class Address extends Base (View source)

Properties

protected $generator from  Base
protected $unique from  Base
static protected $citySuffix
static protected $streetSuffix
static protected $cityFormats
static protected $streetNameFormats
static protected $streetAddressFormats
static protected $addressFormats
static protected $buildingNumber
static protected $postcode
static protected $country

Methods

__construct(Generator $generator)

No description

from  Base
static 
randomDigit()

No description

from  Base
static 
randomDigitNotNull()

No description

from  Base
static 
randomNumber($nbDigits = null, $strict = false)

No description

from  Base
static 
randomFloat($nbMaxDecimals = null, $min = 0, $max = null)

No description

from  Base
static 
numberBetween($min = 0, $max = 2147483647)

No description

from  Base
static 
randomLetter()

No description

from  Base
static 
randomAscii()

No description

from  Base
static 
randomElements(array $array = ['a', 'b', 'c'], $count = 1)

No description

from  Base
static 
randomElement($array = ['a', 'b', 'c'])

No description

from  Base
static 
randomKey(array $array = [])

No description

from  Base
static 
shuffle($arg = '')

No description

from  Base
static 
shuffleArray($array = [])

No description

from  Base
static 
shuffleString($string = '', $encoding = 'UTF-8')

No description

from  Base
static 
numerify($string = '###')

No description

from  Base
static 
lexify($string = '????')

No description

from  Base
static 
bothify($string = '## ??')

No description

from  Base
static 
asciify($string = '****')

No description

from  Base
static 
regexify($regex = '')

No description

from  Base
static 
toLower($string = '')

No description

from  Base
static 
toUpper($string = '')

No description

from  Base
optional($weight = 0.5, $default = null)

No description

from  Base
unique($reset = false, $max_retries = 10000)

No description

from  Base
static 
eachEvery($array)

No description

from  Base
static 
citySuffix()

No description

static 
streetSuffix()

No description

static 
buildingNumber()

No description

static 
cityPrefix()

No description

static 
secondaryAddress()

No description

city()

No description

streetName()

No description

streetAddress()

No description

static 
postcode()

No description

address()

No description

static 
country()

No description

static 
latitude()

No description

static 
longitude()

No description

Details

__construct(Generator $generator)

No description

Parameters

Generator $generator

static randomDigit()

No description

static randomDigitNotNull()

No description

static randomNumber($nbDigits = null, $strict = false)

No description

Parameters

$nbDigits
$strict

static randomFloat($nbMaxDecimals = null, $min = 0, $max = null)

No description

Parameters

$nbMaxDecimals
$min
$max

static numberBetween($min = 0, $max = 2147483647)

No description

Parameters

$min
$max

static randomLetter()

No description

static randomAscii()

No description

static randomElements(array $array = ['a', 'b', 'c'], $count = 1)

No description

Parameters

array $array
$count

static randomElement($array = ['a', 'b', 'c'])

No description

Parameters

$array

static randomKey(array $array = [])

No description

Parameters

array $array

static shuffle($arg = '')

No description

Parameters

$arg

static shuffleArray($array = [])

No description

Parameters

$array

static shuffleString($string = '', $encoding = 'UTF-8')

No description

Parameters

$string
$encoding

static numerify($string = '###')

No description

Parameters

$string

static lexify($string = '????')

No description

Parameters

$string

static bothify($string = '## ??')

No description

Parameters

$string

static asciify($string = '****')

No description

Parameters

$string

static regexify($regex = '')

No description

Parameters

$regex

static toLower($string = '')

No description

Parameters

$string

static toUpper($string = '')

No description

Parameters

$string

optional($weight = 0.5, $default = null)

No description

Parameters

$weight
$default

unique($reset = false, $max_retries = 10000)

No description

Parameters

$reset
$max_retries

static protected eachEvery($array)

No description

Parameters

$array

static citySuffix()

No description

static streetSuffix()

No description

static buildingNumber()

No description

static cityPrefix()

No description

static secondaryAddress()

No description

city()

No description

streetName()

No description

streetAddress()

No description

static postcode()

No description

address()

No description

static country()

No description

static latitude()

No description

static longitude()

No description