documentManagerClosed() public static method

public static documentManagerClosed ( ) : MongoDBException
return MongoDBException
 /**
  * Throws an exception if the DocumentManager is closed or currently not active.
  *
  * @throws ORMException If the DocumentManager is closed.
  */
 private function _errorIfClosed()
 {
     if ($this->_closed) {
         throw MongoDBException::documentManagerClosed();
     }
 }