Comments (3)
升级上去的需要手动在shadowfax.yml
里面添加一下:
cleaners:
- app/Cleaners/
TymonJwtAuthCleaner
在new ServiceProvider时我忘记把$app传进去了,我的疏忽:
$provider = new $class($app);
我调整一下文档。
from shadowfax.
嗯, 这样写也可以.
$provider = $app->getProvider(LaravelServiceProvider::class);
但是这个方法涉及多态调用, 不太好定位. $app
的定义中也没有定义该方法.
from shadowfax.
之前那种写法当然是支持的,我文档里的写法主要是为了兼容Lumen,因为Lumen的Application类没有getProvider
方法。
from shadowfax.
Related Issues (20)
- [bug]Websocket connect ? worker_num HOT 3
- wrk 多次压测性能逐渐下降 HOT 3
- Laravel Admin Csv导出功能易现的 MySQL General error 2014 错误 HOT 5
- Task 任务执行问题 HOT 1
- 文档中Laravel Admin的适配器报错 HOT 4
- 不支持静态文件么?css js之类的,没有serve么? HOT 1
- easywechat 网页授权问题
- RedisManager 向下兼容问题 HOT 2
- Redis连接池不能生效的问题 HOT 1
- Controller的构造函数里面使用中间件异常 HOT 1
- Lumen 8 DB:listen 重复记录 sql 日志 HOT 3
- Lumen 8 使用 Easywechat 组件无法获取 access_token HOT 2
- 第一次尝试这个扩展包 HOT 1
- 执行 php shadowfax reload,并没有重新加载 helper.php 文件。 HOT 2
- shadowfax性能耗费太高 是否有什么优化办法 HOT 8
- 提示 too many attempts HOT 1
- post 响应状态码 204 HOT 2
- [Document Request] Do you have time to make a comparison to laravel octane? HOT 2
- 会支持socket客户端吗? HOT 1
- 完整文档的链接打不开
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shadowfax.