如何查询缓存时间呢?

浏览:2142 发布日期:2013/09/10 分类:求助交流
有些功能用了S方法去 实现缓存。。
但是没找到怎样 读取缓存时间的 方法。$cache = S(array('type'=>'file','expire'=>3600));
                $cache->set('listCateCache',$cate->listCate());
                $listCate = $cache->get('listCateCache');
就像这个,只能获取缓存。不知道怎样才可以获取3600秒 是否过期了。

先提前感谢各位的指导!
最佳答案
评论( 相关
后面还有条评论,点击查看>>