/** * Destroy singletons to force reconstruction */ function _destroy() { // destroy class map factory include_once EP_SRC_ORM . '/epClassMap.php'; epClassMapFactory::destroy(); // destroy db connections include_once EP_SRC_DB . '/epDbObject.php'; epDbFactory::destroy(); // destroy manager include_once EP_SRC_RUNTIME . '/epManager.php'; epManager::destroy(); }