1
0
mirror of https://github.com/fzaninotto/Faker.git synced 2025-03-21 07:49:53 +01:00

Add Payment and Image providers by default

Also, reordered default providers for easier maintenance
This commit is contained in:
Francois Zaninotto 2013-10-21 23:20:00 +02:00
parent 725857f5cd
commit 8079d8e95f

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', 'UserAgent', 'Uuid', 'File', 'Color');
protected static $defaultProviders = array('Address', 'Color', 'Company', 'DateTime', 'File', 'Image', 'Internet', 'Lorem', 'Miscellaneous', 'Payment', 'Person', 'PhoneNumber', 'UserAgent', 'Uuid');
public static function create($locale = self::DEFAULT_LOCALE)
{