|
Zhamao Framework
3.0.0-beta1
A high-performance chatbot + web framework
|
Public 成员函数 | |
| __construct (public string $event_class, public int $level=800) | |
| getLevel () | |
| setLevel ($level) | |
Public 成员函数 继承自 AnnotationBase | |
| __toString () | |
| on (\Closure|callable|string $method) | |
| getIterator () | |
| isInGroup (string $name) | |
| addGroup (string $name) | |
| getGroups () | |
额外继承的成员函数 | |
成员变量 继承自 AnnotationBase | |
| Closure string array | $method = '' |
| $class = '' | |
| array | $group = [] |
Class BindEvent 通过注解绑定 EventProvider 支持的事件
@Annotation @NamedArgumentConstructor() @Target("METHOD")
| __construct | ( | public string | $event_class, |
| public int | $level = 800 |
||
| ) |
| string | $event_class | 绑定事件的类型 |
| $event_class | @Required() |
| getLevel | ( | ) |
实现了 Level.
| setLevel | ( | $level | ) |
实现了 Level.