1
0
mirror of synced 2025-01-20 23:41:39 +03:00

[DDC-884] Allow subclassing EntityManager.

This commit is contained in:
Guilherme Blanco 2011-02-21 00:50:51 -03:00
parent b13c29944b
commit 04ab0cd8fc

View File

@ -725,6 +725,6 @@ class EntityManager implements ObjectManager
throw new \InvalidArgumentException("Invalid argument: " . $conn); throw new \InvalidArgumentException("Invalid argument: " . $conn);
} }
return new EntityManager($conn, $config, $conn->getEventManager()); return new self($conn, $config, $conn->getEventManager());
} }
} }