/** * Destroy all connections objects to MongoDB if any. * * @return void */ public static final function disconnect() { self::$_conn = NULL; self::$_dbs = array(); self::$_collections = array(); }