Zhamao Framework  3.0.0-beta1
A high-performance chatbot + web framework
BotAction类 参考
类 BotAction 继承关系图:
[图例]
BotAction 的协作图:
[图例]

Public 成员函数

 __construct (public string $action='', public bool $need_response=false, public int $level=20)
 
 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 = []
 

详细描述

@Annotation @NamedArgumentConstructor() @Target("METHOD")

构造及析构函数说明

◆ __construct()

__construct ( public string  $action = '',
public bool  $need_response = false,
public int  $level = 20 
)

成员函数说明

◆ getLevel()

getLevel ( )

实现了 Level.

◆ setLevel()

setLevel (   $level)

实现了 Level.


该类的文档由以下文件生成: