1
0
mirror of https://github.com/fzaninotto/Faker.git synced 2025-03-23 16:59:53 +01:00

Merge pull request #59 from blaugueux/patch-1

Load UserAgent provider by default
This commit is contained in:
Francois Zaninotto 2012-09-21 04:11:24 -07:00
commit a3636d7248

View File

@ -6,7 +6,7 @@ class Factory
{
const DEFAULT_LOCALE = 'en_US';
protected static $defaultProviders = array('Person', 'Address', 'PhoneNumber', 'Company', 'Lorem', 'Internet', 'DateTime', 'Miscellaneous');
protected static $defaultProviders = array('Person', 'Address', 'PhoneNumber', 'Company', 'Lorem', 'Internet', 'DateTime', 'Miscellaneous', 'UserAgent');
public static function create($locale = self::DEFAULT_LOCALE)
{