Details
Description
There is no way to unobtrusively determine if an entity manager instance has been closed (due to exceptions/errors during a transaction).
Something like the following would come in handy:
class EntityManager {
public function isOpen()
}
To determine if the instance is closed or not, this way one could instantiate a new entity manager instance with the same connection and configuration.
Implemented