/** * Clears all previously loaded API objects. * * Intended for use in tests where the loading pattern can cause issues * with objects that cache thier own data. * */ public static function clearCache() { self::$wrappers = array(); self::$instances = array(); self::$instancesRaw = array(); vB_Api_Extensions::resetExtensions(); }