zhamao-framework/docs/api/ZM/Store/LightCacheInside.md
Github Build Bot c1a877489b update api docs
2022-04-02 17:31:48 +00:00

76 lines
1.1 KiB
Markdown

# ZM\Store\LightCacheInside
## get
```php
public function get(string $table, string $key): null|mixed
```
### 描述
作者很懒,什么也没有说
### 参数
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| table | string | |
| key | string | |
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| null|mixed | |
## set
```php
public function set(array|int|string $value, string $table, string $key): bool
```
### 描述
作者很懒,什么也没有说
### 参数
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| value | array|int|string | |
| table | string | |
| key | string | |
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| bool | |
## createTable
```php
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 | |