fzaninotto/Faker — pull request #489 by cbourgois (2014-12-30 14:00:52+00:00)
Title: Fix Doctrine ODM Support

Changes `Faker\ORM\Doctrine\EntityPopulator` to manage Doctrine ODM Documents.

Using the Class `Doctrine\Common\Persistence\Mapping\ClassMetadata` instead of `Doctrine\ORM\Mapping\ClassMetadata`

Managing ODM ReferenceOne as ORM One-To-One relations
(`\Doctrine\ODM\MongoDB\Mapping\ClassMetadata` does not have the `getAssociationMappings` function, I retrieve `associationMappings` using the exposed public var)

Changes generateId's signature to avoid using `Doctrine\ORM\EntityManagerInterface`; uses `Doctrine\Common\Persistence\ObjectManager` instead.