mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-05 22:52:49 +08:00
注释和规范化调整及完善
注释和规范化调整及完善,以及部分代码优化
This commit is contained in:
6
library/think/cache/driver/xcache.php
vendored
6
library/think/cache/driver/xcache.php
vendored
@@ -62,7 +62,7 @@ class Xcache
|
||||
* @param string $name 缓存变量名
|
||||
* @param mixed $value 存储数据
|
||||
* @param integer $expire 有效时间(秒)
|
||||
* @return boolen
|
||||
* @return boolean
|
||||
*/
|
||||
public function set($name, $value, $expire = null)
|
||||
{
|
||||
@@ -98,7 +98,7 @@ class Xcache
|
||||
* 删除缓存
|
||||
* @access public
|
||||
* @param string $name 缓存变量名
|
||||
* @return boolen
|
||||
* @return boolean
|
||||
*/
|
||||
public function rm($name)
|
||||
{
|
||||
@@ -108,7 +108,7 @@ class Xcache
|
||||
/**
|
||||
* 清除缓存
|
||||
* @access public
|
||||
* @return boolen
|
||||
* @return boolean
|
||||
*/
|
||||
public function clear()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user