Doctrine 2 - ORM

[GH-577] Allow extending EntityManager and use create method