ZM\Module\QQBot
handleByEvent
public function handleByEvent(): mixed
描述
作者很懒,什么也没有说
返回
handle
public function handle(array|Iterator $data, int $level): mixed
描述
作者很懒,什么也没有说
参数
| 名称 |
类型 |
描述 |
| data |
array |
Iterator |
| level |
int |
递归等级 |
返回
dispatchBeforeEvents
public function dispatchBeforeEvents(array|Iterator $data, string $time): ZM\Event\EventDispatcher
描述
作者很懒,什么也没有说
参数
| 名称 |
类型 |
描述 |
| data |
array |
Iterator |
| time |
string |
类型(pre或post) |
返回
| 类型 |
描述 |
| ZM\Event\EventDispatcher |
|
dispatchEvents
public function dispatchEvents(array|Iterator $data): mixed
描述
作者很懒,什么也没有说
参数
| 名称 |
类型 |
描述 |
| data |
array |
Iterator |
返回
dispatchAfterEvents
public function dispatchAfterEvents(mixed $data): ZM\Event\EventDispatcher
描述
作者很懒,什么也没有说
参数
| 名称 |
类型 |
描述 |
| data |
mixed |
分发事件数据包 |
返回
| 类型 |
描述 |
| ZM\Event\EventDispatcher |
|
dispatchAPIResponse
public function dispatchAPIResponse(mixed $req): mixed
描述
作者很懒,什么也没有说
参数
返回
getInstance
public function getInstance(): static
描述
获取类实例
返回