doctrine/doctrine2 — pull request #1041 by c960657 (2014-05-28 10:38:03+00:00)
Title: Allow all EntityManagerInterface implementations

Doctrine\ORM\Tools\Event\GenerateSchemaEventArgs requires that the supplied entity manager is an EntityManager instance.

In order to support Doctrine\ORM\Decorator\EntityManagerDecorator, it should allow all EntityManagerInterface implementations.