mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 07:12:47 +08:00
Update Cache.php
增加代码注释 方便IDE自动提示如 Cache::get()
This commit is contained in:
@@ -11,6 +11,15 @@
|
|||||||
|
|
||||||
namespace think;
|
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
|
class Cache
|
||||||
{
|
{
|
||||||
protected static $instance = [];
|
protected static $instance = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user