mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-19 05:34:53 +08:00
507 B
507 B
ZM\Event\EventTracer
getCurrentEvent
public function getCurrentEvent(): null|AnnotationBase
描述
获取当前注解事件的注解类,如CQCommand对象
返回
| 类型 | 描述 |
|---|---|
| null | AnnotationBase |
getCurrentEventMiddlewares
public function getCurrentEventMiddlewares(): null|array|mixed
描述
获取当前注解事件的中间件列表
返回
| 类型 | 描述 |
|---|---|
| null | array |