注释和规范化调整及完善

注释和规范化调整及完善,以及部分代码优化
This commit is contained in:
yicheng
2015-12-06 01:56:10 +08:00
parent 491e33af8f
commit 47335634e9
37 changed files with 385 additions and 187 deletions

View File

@@ -31,7 +31,10 @@ class Sqlite
/**
* 架构函数
*
* @param array $options 缓存参数
*
* @throws Exception
* @access public
*/
public function __construct($options = [])
@@ -74,7 +77,7 @@ class Sqlite
* @param string $name 缓存变量名
* @param mixed $value 存储数据
* @param integer $expire 有效时间(秒)
* @return boolen
* @return boolean
*/
public function set($name, $value, $expire = null)
{
@@ -103,7 +106,7 @@ class Sqlite
* 删除缓存
* @access public
* @param string $name 缓存变量名
* @return boolen
* @return boolean
*/
public function rm($name)
{
@@ -116,7 +119,7 @@ class Sqlite
/**
* 清除缓存
* @access public
* @return boolen
* @return boolean
*/
public function clear()
{