示例#1
0
文件: Option.php 项目: weboap/option
 public function clear()
 {
     //clear database
     $this->storage->clear();
     // clear cached options
     $this->cache->forget('weboap.options');
 }
示例#2
0
 public function clear()
 {
     //clear database
     $this->storage->clear();
     // clear cached options
     $this->cache->destroy('weboap.visitor');
 }