update api docs

This commit is contained in:
Github Build Bot
2022-04-02 17:31:48 +00:00
parent 520099aaba
commit c1a877489b
24 changed files with 502 additions and 728 deletions

View File

@@ -1,9 +1,26 @@
# ZM\Module\QQBot
## handleByEvent
```php
public function handleByEvent(): mixed
```
### 描述
作者很懒,什么也没有说
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| mixed | |
## handle
```php
public function handle(mixed $data, int $level): mixed
public function handle(array|Iterator $data, int $level): mixed
```
### 描述
@@ -14,8 +31,8 @@ public function handle(mixed $data, int $level): mixed
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| data | mixed | |
| level | int | |
| data | array|Iterator | 数据包 |
| level | int | 递归等级 |
### 返回
@@ -27,7 +44,7 @@ public function handle(mixed $data, int $level): mixed
## dispatchBeforeEvents
```php
public function dispatchBeforeEvents(mixed $data, mixed $time): ZM\Event\EventDispatcher
public function dispatchBeforeEvents(array|Iterator $data, string $time): ZM\Event\EventDispatcher
```
### 描述
@@ -38,8 +55,8 @@ public function dispatchBeforeEvents(mixed $data, mixed $time): ZM\Event\EventDi
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| data | mixed | |
| time | mixed | |
| data | array|Iterator | 数据包 |
| time | string | 类型pre或post |
### 返回
@@ -51,7 +68,7 @@ public function dispatchBeforeEvents(mixed $data, mixed $time): ZM\Event\EventDi
## dispatchEvents
```php
public function dispatchEvents(mixed $data): mixed
public function dispatchEvents(array|Iterator $data): mixed
```
### 描述
@@ -62,7 +79,7 @@ public function dispatchEvents(mixed $data): mixed
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| data | mixed | |
| data | array|Iterator | 数据包 |
### 返回
@@ -71,6 +88,29 @@ public function dispatchEvents(mixed $data): mixed
| mixed | |
## dispatchAfterEvents
```php
public function dispatchAfterEvents(mixed $data): ZM\Event\EventDispatcher
```
### 描述
作者很懒,什么也没有说
### 参数
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| data | mixed | 分发事件数据包 |
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| ZM\Event\EventDispatcher | |
## dispatchAPIResponse
```php