/** * Age Flashed Data * @param \Touchbase\Data\Store $store * @return VOID */ private static function ageFlashedData(Store $store) { foreach ($store->get(self::FLASH_KEY . ".aged") as $flashKey) { $store->delete($flashKey); } $store->set(self::FLASH_KEY . ".aged", $store->get(self::FLASH_KEY, [])); $store->set(self::FLASH_KEY, []); }