RouteRegistrar
class RouteRegistrar
Properties
protected Router | $router | ||
protected array | $attributes | 路由组属性. |
Methods
Details
at line 29
__construct(Router $router)
No description
at line 39
RouteRegistrar
prefix(string $prefix)
路由组前缀
at line 53
RouteRegistrar
middleware($middleware)
路由组中间件.
at line 65
$this
group(callable $callback)
路由组.