Update Cache.php

增加代码注释 方便IDE自动提示如 Cache::get()
This commit is contained in:
pakey
2016-03-05 18:59:47 +08:00
parent 168616bab8
commit 6b8eba556b

View File

@@ -11,6 +11,15 @@
namespace think;
/**
* Class Cache
*
* @package think
* @method static mixed get() get(string $name)
* @method static bool set() set(string $name, mixed $value, mixed $expire = null)
* @method static bool rm() rm(string $name, bool $expire = false)
* @method static bool clear() clear()
*/
class Cache
{
protected static $instance = [];