1
0
mirror of synced 2024-12-14 07:06:04 +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);
}
return new EntityManager($conn, $config, $conn->getEventManager());
return new self($conn, $config, $conn->getEventManager());
}
}