/** * @param Config an instance of class Config which will be used to * determine the class of the implementation of interface * StudipCache * * @return void */ public static function setConfig($config) { self::$config = $config; self::$cache = NULL; }