Skip to content

中间件怎么使用呢,在哪里定义? #13

@wangcong099878

Description

@wangcong099878
    $router->group('/grp', function (Router $r) use (&$r1) {
        $r1 = $r->get('/path', 'h0')->push('func2');
    }, ['func3', 'func4'], ['n1' => 'v1']);

例如func3,传进去的是字符串吗,在哪里注册的

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions