注释规范

This commit is contained in:
thinkphp
2016-06-20 17:34:54 +08:00
parent 940ed22965
commit a032828d5c
48 changed files with 724 additions and 760 deletions

View File

@@ -29,8 +29,8 @@ class Cache
/**
* 连接缓存
* @access public
* @param array $options 配置数组
* @param bool|string $name 缓存连接标识 true 强制重新连接
* @param array $options 配置数组
* @param bool|string $name 缓存连接标识 true 强制重新连接
* @return object
*/
public static function connect(array $options = [], $name = false)
@@ -84,9 +84,9 @@ class Cache
/**
* 写入缓存
* @access public
* @param string $name 缓存标识
* @param mixed $value 存储数据
* @param int|null $expire 有效时间 0为永久
* @param string $name 缓存标识
* @param mixed $value 存储数据
* @param int|null $expire 有效时间 0为永久
* @return boolean
*/
public static function set($name, $value, $expire = null)
@@ -99,7 +99,7 @@ class Cache
/**
* 删除缓存
* @access public
* @param string $name 缓存标识
* @param string $name 缓存标识
* @return boolean
*/
public static function rm($name)