doctrine/doctrine2 — pull request #1003 by h3110w0r1d (2014-04-06 11:56:05+00:00)
Title: Let user extend EntityManager

change new EntityManager into new self in static function create