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

Laravel\Lumen\Application::getMiddleware() 在swoole.php里面报错 #3

Open
rdcxzc opened this issue Oct 28, 2017 · 1 comment
Open

Comments

@rdcxzc
Copy link

rdcxzc commented Oct 28, 2017

Laravel\Lumen\Application::getMidd
leware() in /www/wwwroot/im.nxspecial.cn/IMAPI/im/vendor/silentred/lumoon/s
woole.php:102

@silentred
Copy link
Owner

Because Lumen does not use Http Kernel, you have to create a subclass of \Laravel\Lumen\Application under app directory. In bootstrap directory, change Application in app.php to the new one as App\Application
需要在app目录下新建一个 Application类,并把app.php 中的引用修改为 App\Application

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants