Doctrine\ORM\EntityManager::errorIfClosed
Throws an exception if the EntityManager is closed or currently not active.
Signature
private function errorIfClosed()
Errors/Exceptions
-
ORMException
- If the EntityManager is closed.