mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-23 00:25:35 +08:00
add api docs (#80)
This commit is contained in:
39
docs/api/ZM/Store/ZMAtomic.md
Normal file
39
docs/api/ZM/Store/ZMAtomic.md
Normal file
@@ -0,0 +1,39 @@
|
||||
# ZM\Store\ZMAtomic
|
||||
|
||||
## get
|
||||
|
||||
```php
|
||||
public function get(mixed $name): Swoole\Atomic
|
||||
```
|
||||
|
||||
### 描述
|
||||
|
||||
作者很懒,什么也没有说
|
||||
|
||||
### 参数
|
||||
|
||||
| 名称 | 类型 | 描述 |
|
||||
| -------- | ---- | ----------- |
|
||||
| name | mixed | |
|
||||
### 返回
|
||||
|
||||
| 类型 | 描述 |
|
||||
| ---- | ----------- |
|
||||
| Swoole\Atomic | |
|
||||
|
||||
|
||||
## init
|
||||
|
||||
```php
|
||||
public function init(): mixed
|
||||
```
|
||||
|
||||
### 描述
|
||||
|
||||
初始化atomic计数器
|
||||
|
||||
### 返回
|
||||
|
||||
| 类型 | 描述 |
|
||||
| ---- | ----------- |
|
||||
| mixed | |
|
||||
Reference in New Issue
Block a user