group()
group(string|array $name, mixed $route, string $method = '*', array $option = [], array $pattern = []) : \think\route\RuleGroup
static 注册路由分组
Parameters
string|array |
$name |
|
mixed |
$route |
|
string |
$method |
|
array |
$option |
|
array |
$pattern |
|
Returns
\think\route\RuleGroup