get($key); } // This function will store an object as a singleton static function store($key, $instance) { return self::singleton()->set($key,$instance); } } ?>