Lggr
Static Public Member Functions | Public Attributes | Static Protected Member Functions | Static Protected Attributes | List of all members
Faker\Factory Class Reference
Collaboration diagram for Faker\Factory:
Collaboration graph
[legend]

Static Public Member Functions

static create ($locale=self::DEFAULT_LOCALE)
 

Public Attributes

const DEFAULT_LOCALE = 'en_US'
 

Static Protected Member Functions

static getProviderClassname ($provider, $locale='')
 
static findProviderClassname ($provider, $locale='')
 

Static Protected Attributes

static $defaultProviders = array('Address', 'Barcode', 'Biased', 'Color', 'Company', 'DateTime', 'File', 'HtmlLorem', 'Image', 'Internet', 'Lorem', 'Miscellaneous', 'Payment', 'Person', 'PhoneNumber', 'Text', 'UserAgent', 'Uuid')
 

Member Function Documentation

◆ create()

static Faker\Factory::create (   $locale = self::DEFAULT_LOCALE)
static

Create a new generator

Parameters
string$locale
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: