芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/myvyralapp.com/bck/vendor/torann/geoip/src/Cache.php
cache = $tags ? $cache->tags($tags) : $cache; $this->expires = $expires; } /** * Get an item from the cache. * * @param string $name * * @return Location|null */ public function get($name) { $value = $this->cache->get($name); return is_array($value) ? new Location($value) : null; } /** * Store an item in cache. * * @param string $name * @param Location $location * * @return bool */ public function set($name, Location $location) { return $this->cache->put($name, $location->toArray(), $this->expires); } /** * Flush cache for tags. * * @return bool */ public function flush() { return $this->cache->flush(); } }