doctrine/doctrine2 — pull request #577 by ruian (2013-02-11 15:46:17+00:00)
Title: Allow extending EntityManager and use create method

If you create your own entityManager by extending this one, you can't use ::create method because
it will create an instance of the last one and not our new entityManager