/** * Set cache object * * @param DataStore $cache */ public static function setCache($cache) { self::$cache = $cache; }