mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-07 08:45:37 +08:00
1.1 KiB
1.1 KiB
ZM\Store\LightCacheInside
get
public function get(string $table, string $key): null|mixed
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| table | string | |
| key | string |
返回
| 类型 | 描述 |
|---|---|
| null | mixed |
set
public function set(array|int|string $value, string $table, string $key): bool
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| value | array | int |
| table | string | |
| key | string |
返回
| 类型 | 描述 |
|---|---|
| bool |
createTable
public function createTable(float|int $conflict_proportion, string $name, int $size, int $str_size): mixed
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| conflict_proportion | float | int |
| name | string | |
| size | int | |
| str_size | int |
返回
| 类型 | 描述 |
|---|---|
| mixed |