Skip to content

Commit

Permalink
Add mention of Mandango ODM support in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Nov 3, 2011
1 parent f1fbdf0 commit b2b8ec1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit b2b8ec1

Please sign in to comment.