/** * Forgets about all of the objects so that when they are retrieved * again they will be recreated from the database. For use in testing. */ public static function forgetAll() { self::forgetAllBeanModels(); self::$attributeLabelsByLanguage = array(); RedBeanModelsCache::forgetAll(); RedBeansCache::forgetAll(); }