|
Zhamao Framework 3.2.4
A high-performance chatbot + web framework
|
Public 成员函数 | |
| __construct (public $route, public $name='', public $request_method=['GET', 'POST'], public $params=[]) | |
Public 成员函数 继承自 AnnotationBase | |
| __toString () | |
| on (\Closure|callable|string $method) | |
| getIterator () | |
| isInGroup (string $name) | |
| addGroup (string $name) | |
| getGroups () | |
静态 Public 成员函数 | |
| static | make ($route, $name='', $request_method=['GET', 'POST'], $params=[]) |
额外继承的成员函数 | |
成员变量 继承自 AnnotationBase | |
| Closure string array | $method = '' |
| $class = '' | |
| array | $group = [] |
Class RequestMapping @Annotation @NamedArgumentConstructor() @Target("METHOD")
| __construct | ( | public | $route, |
| public | $name = '', |
||
| public | $request_method = ['GET', 'POST'], |
||
| public | $params = [] |
||
| ) |
| $route | @Required() |
| $params | Routing path params binding. eg. {"id"="\d+"} |
|
static |