mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
Update Cache.php
增加代码注释 方便IDE自动提示如 Cache::get()
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user