mirror of
https://github.com/fzaninotto/Faker.git
synced 2025-03-19 06:49:50 +01:00
Add mention of Mandango ODM support in readme
This commit is contained in:
parent
f1fbdf0b26
commit
b2b8ec1032
@ -181,9 +181,9 @@ for ($i=0; $i < 10; $i++) {
|
||||
|
||||
You can check available Faker locales in the source code, [under the `Provider` directory](https://github.com/fzaninotto/Faker/tree/master/src/Faker/Provider). The localization of Faker is an ongoing process, for which we need your help. Don't hesitate to create localized providers to your own locale and submit a PR!
|
||||
|
||||
## Populating Entities Using an ORM
|
||||
## Populating Entities Using an ORM or an ODM
|
||||
|
||||
Faker provides an adapter for the Object-Relational Mappers (currently, [Propel](http://www.propelorm.org) and [Doctrine2](http://www.doctrine-project.org/projects/orm/2.0/docs/en)) to ease the population of a database using the Entity classes managed by the ORM.
|
||||
Faker provides an adapter for the Object-Relational and Object-Document Mappers (currently, [Propel](http://www.propelorm.org), [Doctrine2](http://www.doctrine-project.org/projects/orm/2.0/docs/en), and [Mandango](https://github.com/mandango/mandango)) to ease the population of a database using the Entity classes managed by the ORM.
|
||||
|
||||
To populate entities, create a new populator class (using a generator instance as parameter), then list the class and number of all the entities that must be generated. To launch the actual data population, call the `execute()` method.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user