diff --git a/library/think/Cache.php b/library/think/Cache.php index eaaad34c..333db049 100644 --- a/library/think/Cache.php +++ b/library/think/Cache.php @@ -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 = [];