doctrine/doctrine2 — pull request #454 by HarmenM (2012-09-25 09:54:30+00:00)
Title: Replaced the hard coded classname into static in the Entity Manager, in order to allow EntityManager extension

Changing the hard coded reference to the EntityManager class into static in the factory method to create an entity manager instance
(new EntityManager() --> new static()). In order to make it possible to extend the EntityManager class