Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

拦截器回调写法tips #42

Open
woodongwong opened this issue May 14, 2019 · 0 comments
Open

拦截器回调写法tips #42

woodongwong opened this issue May 14, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@woodongwong
Copy link

如果使用这种写法:array: [$object, 'method_name'], 在配置拦截器时应该这样:'before' => [[$object, 'method_name']]

@twose twose added the enhancement New feature or request label Jun 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants