ZM\Event\EventTracer
getCurrentEvent
public function getCurrentEvent(): null|AnnotationBase
1
描述
获取当前注解事件的注解类,如CQCommand对象
返回
类型 | 描述 |
null | AnnotationBase |
getCurrentEventMiddlewares
public function getCurrentEventMiddlewares(): null|array|mixed
1
描述
获取当前注解事件的中间件列表
返回