|
static | create ($locale=self::DEFAULT_LOCALE) |
|
|
const | DEFAULT_LOCALE = 'en_US' |
|
|
static | $defaultProviders = array('Address', 'Barcode', 'Biased', 'Color', 'Company', 'DateTime', 'File', 'HtmlLorem', 'Image', 'Internet', 'Lorem', 'Miscellaneous', 'Payment', 'Person', 'PhoneNumber', 'Text', 'UserAgent', 'Uuid') |
|
◆ create()
static Faker\Factory::create |
( |
|
$locale = self::DEFAULT_LOCALE | ) |
|
|
static |
Create a new generator
- Parameters
-
- Returns
- Generator
◆ findProviderClassname()
static Faker\Factory::findProviderClassname |
( |
|
$provider, |
|
|
|
$locale = '' |
|
) |
| |
|
staticprotected |
- Parameters
-
string | $provider | |
string | $locale | |
- Returns
- string
◆ getProviderClassname()
static Faker\Factory::getProviderClassname |
( |
|
$provider, |
|
|
|
$locale = '' |
|
) |
| |
|
staticprotected |
- Parameters
-
string | $provider | |
string | $locale | |
- Returns
- string
The documentation for this class was generated from the following file:
- vendor/fzaninotto/faker/src/Faker/Factory.php