added support for doctrine ODM

added support for doctrine ODM