Generator
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 | 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
Replaces tokens ('{{ tokenName }}') with the result from the token method call
No description
No description
No description
No description
No description
No description
Details
in
Generator at line 210
addProvider($provider)
No description
in
Generator at line 215
getProviders()
No description
in
Generator at line 220
seed($seed = null)
No description
in
Generator at line 235
format($formatter, $arguments = [])
No description
in
Generator at line 245
callable
getFormatter(string $formatter)
No description
in
Generator at line 266
string
parse(string $string)
Replaces tokens ('{{ tokenName }}') with the result from the token method call
in
Generator at line 276
mixed
__get(string $attribute)
No description
in
Generator at line 287
mixed
__call(string $method, array $attributes)
No description
in
Generator at line 292
__destruct()
No description
in
Generator at line 297
protected
callFormatWithMatches($matches)
No description
in
Generator at line 205
string
name(string $gender = null)
No description
in
Generator at line 205
string
firstName(string $gender = null)
No description
in
Generator at line 205
string
title(string $gender = null)
No description
in
Generator at line 205
float
latitude(mixed $min, mixed $max)
No description
in
Generator at line 205
float
longitude(mixed $min, mixed $max)
No description
in
Generator at line 205
string
creditCardNumber(mixed $type, mixed $formatted, mixed $separator)
No description
in
Generator at line 205
string
iban(mixed $countryCode, mixed $prefix, mixed $length)
No description
in
Generator at line 205
string|array
words(mixed $nb, mixed $asText)
No description
in
Generator at line 205
string
word()
No description
in
Generator at line 205
string
sentence(mixed $nbWords, mixed $variableNbWords)
No description
in
Generator at line 205
string|array
sentences(mixed $nb, mixed $asText)
No description
in
Generator at line 205
string
paragraph(mixed $nbSentences, mixed $variableNbSentences)
No description
in
Generator at line 205
string|array
paragraphs(mixed $nb, mixed $asText)
No description
in
Generator at line 205
string
text(mixed $maxNbChars)
No description
in
Generator at line 205
string
realText(mixed $maxNbChars, mixed $indexSize)
No description
in
Generator at line 205
string
password(mixed $minLength, mixed $maxLength)
No description
in
Generator at line 205
string
slug(mixed $nbWords, mixed $variableNbWords)
No description
in
Generator at line 205
string
amPm(mixed $max)
No description
in
Generator at line 205
string
date(mixed $format, mixed $max)
No description
in
Generator at line 205
string
dayOfMonth(mixed $max)
No description
in
Generator at line 205
string
dayOfWeek(mixed $max)
No description
in
Generator at line 205
string
iso8601(mixed $max)
No description
in
Generator at line 205
string
month(mixed $max)
No description
in
Generator at line 205
string
monthName(mixed $max)
No description
in
Generator at line 205
string
time(mixed $format, mixed $max)
No description
in
Generator at line 205
int
unixTime(mixed $max)
No description
in
Generator at line 205
string
year(mixed $max)
No description
in
Generator at line 205
DateTime
dateTimeBetween(mixed $startDate, mixed $endDate, mixed $timezone)
No description
in
Generator at line 205
DateTime
dateTimeInInterval(mixed $date, mixed $interval, mixed $timezone)
No description
in
Generator at line 205
bool
boolean(mixed $chanceOfGettingTrue)
No description
in
Generator at line 205
int
randomNumber(mixed $nbDigits, mixed $strict)
No description
in
Generator at line 205
int|string|null
randomKey(array $array = [])
No description
in
Generator at line 205
int
numberBetween(mixed $min, mixed $max)
No description
in
Generator at line 205
float
randomFloat(mixed $nbMaxDecimals, mixed $min, mixed $max)
No description
in
Generator at line 205
mixed
randomElement(array $array = ['a', 'c'] $)
No description
in
Generator at line 205
array
randomElements(array $array = ['a', 'c'] $, $count, $allowDuplicates)
No description
in
Generator at line 205
array|string
shuffle(mixed $arg)
No description
in
Generator at line 205
array
shuffleArray(array $array = [])
No description
in
Generator at line 205
string
shuffleString(mixed $string, mixed $encoding)
No description
in
Generator at line 205
string
numerify(mixed $string)
No description
in
Generator at line 205
string
lexify(mixed $string)
No description
in
Generator at line 205
string
bothify(mixed $string)
No description
in
Generator at line 205
string
asciify(mixed $string)
No description
in
Generator at line 205
string
regexify(mixed $regex)
No description
in
Generator at line 205
string
toLower(mixed $string)
No description
in
Generator at line 205
string
toUpper(mixed $string)
No description
in
Generator at line 205
mixed
passthrough(mixed $passthrough)
No description
in
Generator at line 205
int
biasedNumberBetween(mixed $min, mixed $max, mixed $function)
No description
in
Generator at line 205
string
file(mixed $sourceDirectory, mixed $targetDirectory, mixed $fullPath)
No description
in
Generator at line 205
string
imageUrl(mixed $width, mixed $height, mixed $word, mixed $font_color, mixed $bg_color, mixed $font_size)
No description
in
Generator at line 205
string
image(mixed $dir, mixed $width, mixed $height, mixed $category, mixed $fullPath, mixed $randomize, mixed $word)
No description
in
Generator at line 205
string
randomHtml(mixed $maxDepth, mixed $maxWidth)
No description