class Generator extends Generator

Properties

protected $providers from  Generator
protected $formatters from  Generator
string $name from  Generator
string $firstName from  Generator
string $firstNameMale from  Generator
string $firstNameFemale from  Generator
string $lastName from  Generator
string $title from  Generator
string $titleMale from  Generator
string $titleFemale from  Generator
string $idNumber from  Generator
string $citySuffix from  Generator
string $cityPrefix from  Generator
string $streetSuffix from  Generator
string $buildingNumber from  Generator
string $city from  Generator
string $streetName from  Generator
string $streetAddress from  Generator
string $secondaryAddress from  Generator
string $postcode from  Generator
string $address from  Generator
string $state from  Generator
string $country from  Generator
string $ean13 from  Generator
string $ean8 from  Generator
string $isbn13 from  Generator
string $isbn10 from  Generator
string $phoneNumber from  Generator
string $e164PhoneNumber from  Generator
string $catchPhrase from  Generator
string $bs from  Generator
string $company from  Generator
string $companySuffix from  Generator
string $jobTitle from  Generator
string $creditCardType from  Generator
string $creditCardNumber from  Generator
DateTime $creditCardExpirationDate from  Generator
string $creditCardExpirationDateString from  Generator
array $creditCardDetails from  Generator
string $bankAccountNumber from  Generator
string $swiftBicNumber from  Generator
string $vat from  Generator
string $word from  Generator
string|array $words from  Generator
string $sentence from  Generator
string|array $sentences from  Generator
string $paragraph from  Generator
string|array $paragraphs from  Generator
string $text from  Generator
string $email from  Generator
string $safeEmail from  Generator
string $freeEmail from  Generator
string $companyEmail from  Generator
string $freeEmailDomain from  Generator
string $safeEmailDomain from  Generator
string $userName from  Generator
string $password from  Generator
string $domainName from  Generator
string $domainWord from  Generator
string $tld from  Generator
string $url from  Generator
string $slug from  Generator
string $ipv4 from  Generator
string $ipv6 from  Generator
string $localIpv4 from  Generator
string $macAddress from  Generator
int $unixTime from  Generator
DateTime $dateTime from  Generator
DateTime $dateTimeAD from  Generator
string $iso8601 from  Generator
DateTime $dateTimeThisCentury from  Generator
DateTime $dateTimeThisDecade from  Generator
DateTime $dateTimeThisYear from  Generator
DateTime $dateTimeThisMonth from  Generator
string $amPm from  Generator
string $dayOfMonth from  Generator
string $dayOfWeek from  Generator
string $month from  Generator
string $monthName from  Generator
string $year from  Generator
string $century from  Generator
string $timezone from  Generator
string $md5 from  Generator
string $sha1 from  Generator
string $sha256 from  Generator
string $locale from  Generator
string $countryCode from  Generator
string $countryISOAlpha3 from  Generator
string $languageCode from  Generator
string $currencyCode from  Generator
bool $boolean from  Generator
int $randomDigit from  Generator
int $randomDigitNot from  Generator
int $randomDigitNotNull from  Generator
string $randomLetter from  Generator
string $randomAscii from  Generator
string $macProcessor from  Generator
string $linuxProcessor from  Generator
string $userAgent from  Generator
string $chrome from  Generator
string $firefox from  Generator
string $safari from  Generator
string $opera from  Generator
string $internetExplorer from  Generator
string $windowsPlatformToken from  Generator
string $macPlatformToken from  Generator
string $linuxPlatformToken from  Generator
string $uuid from  Generator
string $mimeType from  Generator
string $fileExtension from  Generator
string $hexColor from  Generator
string $safeHexColor from  Generator
string $rgbColor from  Generator
array $rgbColorAsArray from  Generator
string $rgbCssColor from  Generator
string $safeColorName from  Generator
string $colorName from  Generator

Methods

addProvider($provider)

No description

getProviders()

No description

seed($seed = null)

No description

format($formatter, $arguments = [])

No description

callable
getFormatter(string $formatter)

No description

string
parse(string $string)

Replaces tokens ('{{ tokenName }}') with the result from the token method call

mixed
__get(string $attribute)

No description

mixed
__call(string $method, array $attributes)

No description

__destruct()

No description

callFormatWithMatches($matches)

No description

string
name(string $gender = null)

No description

string
firstName(string $gender = null)

No description

string
title(string $gender = null)

No description

float
latitude(mixed $min, mixed $max)

No description

float
longitude(mixed $min, mixed $max)

No description

string
creditCardNumber(mixed $type, mixed $formatted, mixed $separator)

No description

string
iban(mixed $countryCode, mixed $prefix, mixed $length)

No description

string|array
words(mixed $nb, mixed $asText)

No description

string
word()

No description

string
sentence(mixed $nbWords, mixed $variableNbWords)

No description

string|array
sentences(mixed $nb, mixed $asText)

No description

string
paragraph(mixed $nbSentences, mixed $variableNbSentences)

No description

string|array
paragraphs(mixed $nb, mixed $asText)

No description

string
text(mixed $maxNbChars)

No description

string
realText(mixed $maxNbChars, mixed $indexSize)

No description

string
password(mixed $minLength, mixed $maxLength)

No description

string
slug(mixed $nbWords, mixed $variableNbWords)

No description

string
amPm(mixed $max)

No description

string
date(mixed $format, mixed $max)

No description

string
dayOfMonth(mixed $max)

No description

string
dayOfWeek(mixed $max)

No description

string
iso8601(mixed $max)

No description

string
month(mixed $max)

No description

string
monthName(mixed $max)

No description

string
time(mixed $format, mixed $max)

No description

int
unixTime(mixed $max)

No description

string
year(mixed $max)

No description

dateTime(mixed $max, mixed $timezone)

No description

dateTimeAd(mixed $max, mixed $timezone)

No description

dateTimeBetween(mixed $startDate, mixed $endDate, mixed $timezone)

No description

dateTimeInInterval(mixed $date, mixed $interval, mixed $timezone)

No description

dateTimeThisCentury(mixed $max, mixed $timezone)

No description

dateTimeThisDecade(mixed $max, mixed $timezone)

No description

dateTimeThisYear(mixed $max, mixed $timezone)

No description

dateTimeThisMonth(mixed $max, mixed $timezone)

No description

bool
boolean(mixed $chanceOfGettingTrue)

No description

int
randomNumber(mixed $nbDigits, mixed $strict)

No description

int|string|null
randomKey(array $array = [])

No description

int
numberBetween(mixed $min, mixed $max)

No description

float
randomFloat(mixed $nbMaxDecimals, mixed $min, mixed $max)

No description

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

No description

array
randomElements(array $array = ['a', 'c'] $, $count, $allowDuplicates)

No description

array|string
shuffle(mixed $arg)

No description

array
shuffleArray(array $array = [])

No description

string
shuffleString(mixed $string, mixed $encoding)

No description

string
numerify(mixed $string)

No description

string
lexify(mixed $string)

No description

string
bothify(mixed $string)

No description

string
asciify(mixed $string)

No description

string
regexify(mixed $regex)

No description

string
toLower(mixed $string)

No description

string
toUpper(mixed $string)

No description

optional(mixed $weight, mixed $default)

No description

unique(mixed $reset, mixed $maxRetries)

No description

valid(mixed $validator, mixed $maxRetries)

No description

mixed
passthrough(mixed $passthrough)

No description

int
biasedNumberBetween(mixed $min, mixed $max, mixed $function)

No description

string
file(mixed $sourceDirectory, mixed $targetDirectory, mixed $fullPath)

No description

string
imageUrl(mixed $width, mixed $height, mixed $word, mixed $font_color, mixed $bg_color, mixed $font_size)

No description

string
image(mixed $dir, mixed $width, mixed $height, mixed $category, mixed $fullPath, mixed $randomize, mixed $word)

No description

string
randomHtml(mixed $maxDepth, mixed $maxWidth)

No description

Details

in Generator at line 210
addProvider($provider)

No description

Parameters

$provider

in Generator at line 215
getProviders()

No description

in Generator at line 220
seed($seed = null)

No description

Parameters

$seed

in Generator at line 235
format($formatter, $arguments = [])

No description

Parameters

$formatter
$arguments

in Generator at line 245
callable getFormatter(string $formatter)

No description

Parameters

string $formatter

Return Value

callable

in Generator at line 266
string parse(string $string)

Replaces tokens ('{{ tokenName }}') with the result from the token method call

Parameters

string $string

String that needs to bet parsed

Return Value

string

in Generator at line 276
mixed __get(string $attribute)

No description

Parameters

string $attribute

Return Value

mixed

in Generator at line 287
mixed __call(string $method, array $attributes)

No description

Parameters

string $method
array $attributes

Return Value

mixed

in Generator at line 292
__destruct()

No description

in Generator at line 297
protected callFormatWithMatches($matches)

No description

Parameters

$matches

in Generator at line 205
string name(string $gender = null)

No description

Parameters

string $gender

Return Value

string

in Generator at line 205
string firstName(string $gender = null)

No description

Parameters

string $gender

Return Value

string

in Generator at line 205
string title(string $gender = null)

No description

Parameters

string $gender

Return Value

string

in Generator at line 205
float latitude(mixed $min, mixed $max)

No description

Parameters

mixed $min
mixed $max

Return Value

float

in Generator at line 205
float longitude(mixed $min, mixed $max)

No description

Parameters

mixed $min
mixed $max

Return Value

float

in Generator at line 205
string creditCardNumber(mixed $type, mixed $formatted, mixed $separator)

No description

Parameters

mixed $type
mixed $formatted
mixed $separator

Return Value

string

in Generator at line 205
string iban(mixed $countryCode, mixed $prefix, mixed $length)

No description

Parameters

mixed $countryCode
mixed $prefix
mixed $length

Return Value

string

in Generator at line 205
string|array words(mixed $nb, mixed $asText)

No description

Parameters

mixed $nb
mixed $asText

Return Value

string|array

in Generator at line 205
string word()

No description

Return Value

string

in Generator at line 205
string sentence(mixed $nbWords, mixed $variableNbWords)

No description

Parameters

mixed $nbWords
mixed $variableNbWords

Return Value

string

in Generator at line 205
string|array sentences(mixed $nb, mixed $asText)

No description

Parameters

mixed $nb
mixed $asText

Return Value

string|array

in Generator at line 205
string paragraph(mixed $nbSentences, mixed $variableNbSentences)

No description

Parameters

mixed $nbSentences
mixed $variableNbSentences

Return Value

string

in Generator at line 205
string|array paragraphs(mixed $nb, mixed $asText)

No description

Parameters

mixed $nb
mixed $asText

Return Value

string|array

in Generator at line 205
string text(mixed $maxNbChars)

No description

Parameters

mixed $maxNbChars

Return Value

string

in Generator at line 205
string realText(mixed $maxNbChars, mixed $indexSize)

No description

Parameters

mixed $maxNbChars
mixed $indexSize

Return Value

string

in Generator at line 205
string password(mixed $minLength, mixed $maxLength)

No description

Parameters

mixed $minLength
mixed $maxLength

Return Value

string

in Generator at line 205
string slug(mixed $nbWords, mixed $variableNbWords)

No description

Parameters

mixed $nbWords
mixed $variableNbWords

Return Value

string

in Generator at line 205
string amPm(mixed $max)

No description

Parameters

mixed $max

Return Value

string

in Generator at line 205
string date(mixed $format, mixed $max)

No description

Parameters

mixed $format
mixed $max

Return Value

string

in Generator at line 205
string dayOfMonth(mixed $max)

No description

Parameters

mixed $max

Return Value

string

in Generator at line 205
string dayOfWeek(mixed $max)

No description

Parameters

mixed $max

Return Value

string

in Generator at line 205
string iso8601(mixed $max)

No description

Parameters

mixed $max

Return Value

string

in Generator at line 205
string month(mixed $max)

No description

Parameters

mixed $max

Return Value

string

in Generator at line 205
string monthName(mixed $max)

No description

Parameters

mixed $max

Return Value

string

in Generator at line 205
string time(mixed $format, mixed $max)

No description

Parameters

mixed $format
mixed $max

Return Value

string

in Generator at line 205
int unixTime(mixed $max)

No description

Parameters

mixed $max

Return Value

int

in Generator at line 205
string year(mixed $max)

No description

Parameters

mixed $max

Return Value

string

in Generator at line 205
DateTime dateTime(mixed $max, mixed $timezone)

No description

Parameters

mixed $max
mixed $timezone

Return Value

DateTime

in Generator at line 205
DateTime dateTimeAd(mixed $max, mixed $timezone)

No description

Parameters

mixed $max
mixed $timezone

Return Value

DateTime

in Generator at line 205
DateTime dateTimeBetween(mixed $startDate, mixed $endDate, mixed $timezone)

No description

Parameters

mixed $startDate
mixed $endDate
mixed $timezone

Return Value

DateTime

in Generator at line 205
DateTime dateTimeInInterval(mixed $date, mixed $interval, mixed $timezone)

No description

Parameters

mixed $date
mixed $interval
mixed $timezone

Return Value

DateTime

in Generator at line 205
DateTime dateTimeThisCentury(mixed $max, mixed $timezone)

No description

Parameters

mixed $max
mixed $timezone

Return Value

DateTime

in Generator at line 205
DateTime dateTimeThisDecade(mixed $max, mixed $timezone)

No description

Parameters

mixed $max
mixed $timezone

Return Value

DateTime

in Generator at line 205
DateTime dateTimeThisYear(mixed $max, mixed $timezone)

No description

Parameters

mixed $max
mixed $timezone

Return Value

DateTime

in Generator at line 205
DateTime dateTimeThisMonth(mixed $max, mixed $timezone)

No description

Parameters

mixed $max
mixed $timezone

Return Value

DateTime

in Generator at line 205
bool boolean(mixed $chanceOfGettingTrue)

No description

Parameters

mixed $chanceOfGettingTrue

Return Value

bool

in Generator at line 205
int randomNumber(mixed $nbDigits, mixed $strict)

No description

Parameters

mixed $nbDigits
mixed $strict

Return Value

int

in Generator at line 205
int|string|null randomKey(array $array = [])

No description

Parameters

array $array

Return Value

int|string|null

in Generator at line 205
int numberBetween(mixed $min, mixed $max)

No description

Parameters

mixed $min
mixed $max

Return Value

int

in Generator at line 205
float randomFloat(mixed $nbMaxDecimals, mixed $min, mixed $max)

No description

Parameters

mixed $nbMaxDecimals
mixed $min
mixed $max

Return Value

float

in Generator at line 205
mixed randomElement(array $array = ['a', 'c'] $)

No description

Parameters

array $array
'c'] $

Return Value

mixed

in Generator at line 205
array randomElements(array $array = ['a', 'c'] $, $count, $allowDuplicates)

No description

Parameters

array $array
'c'] $
$count
$allowDuplicates

Return Value

array

in Generator at line 205
array|string shuffle(mixed $arg)

No description

Parameters

mixed $arg

Return Value

array|string

in Generator at line 205
array shuffleArray(array $array = [])

No description

Parameters

array $array

Return Value

array

in Generator at line 205
string shuffleString(mixed $string, mixed $encoding)

No description

Parameters

mixed $string
mixed $encoding

Return Value

string

in Generator at line 205
string numerify(mixed $string)

No description

Parameters

mixed $string

Return Value

string

in Generator at line 205
string lexify(mixed $string)

No description

Parameters

mixed $string

Return Value

string

in Generator at line 205
string bothify(mixed $string)

No description

Parameters

mixed $string

Return Value

string

in Generator at line 205
string asciify(mixed $string)

No description

Parameters

mixed $string

Return Value

string

in Generator at line 205
string regexify(mixed $regex)

No description

Parameters

mixed $regex

Return Value

string

in Generator at line 205
string toLower(mixed $string)

No description

Parameters

mixed $string

Return Value

string

in Generator at line 205
string toUpper(mixed $string)

No description

Parameters

mixed $string

Return Value

string

in Generator at line 205
Generator optional(mixed $weight, mixed $default)

No description

Parameters

mixed $weight
mixed $default

Return Value

Generator

in Generator at line 205
Generator unique(mixed $reset, mixed $maxRetries)

No description

Parameters

mixed $reset
mixed $maxRetries

Return Value

Generator

in Generator at line 205
Generator valid(mixed $validator, mixed $maxRetries)

No description

Parameters

mixed $validator
mixed $maxRetries

Return Value

Generator

in Generator at line 205
mixed passthrough(mixed $passthrough)

No description

Parameters

mixed $passthrough

Return Value

mixed

in Generator at line 205
int biasedNumberBetween(mixed $min, mixed $max, mixed $function)

No description

Parameters

mixed $min
mixed $max
mixed $function

Return Value

int

in Generator at line 205
string file(mixed $sourceDirectory, mixed $targetDirectory, mixed $fullPath)

No description

Parameters

mixed $sourceDirectory
mixed $targetDirectory
mixed $fullPath

Return Value

string

in Generator at line 205
string imageUrl(mixed $width, mixed $height, mixed $word, mixed $font_color, mixed $bg_color, mixed $font_size)

No description

Parameters

mixed $width
mixed $height
mixed $word
mixed $font_color
mixed $bg_color
mixed $font_size

Return Value

string

in Generator at line 205
string image(mixed $dir, mixed $width, mixed $height, mixed $category, mixed $fullPath, mixed $randomize, mixed $word)

No description

Parameters

mixed $dir
mixed $width
mixed $height
mixed $category
mixed $fullPath
mixed $randomize
mixed $word

Return Value

string

in Generator at line 205
string randomHtml(mixed $maxDepth, mixed $maxWidth)

No description

Parameters

mixed $maxDepth
mixed $maxWidth

Return Value

string