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

[4.0] 优化服务提供器结构 #689

Closed
overtrue opened this issue May 9, 2017 · 0 comments
Closed

[4.0] 优化服务提供器结构 #689

overtrue opened this issue May 9, 2017 · 0 comments
Labels
Milestone

Comments

@overtrue
Copy link
Collaborator

overtrue commented May 9, 2017

目标:任何一个类,或者模块内,都可以访问其它模块,以及公用的模块,比如配置
实现:ServiceProvider 接收 $app 对象,将需要访问以上模块的类注入 $app 对象即可

需求案例:#688

@overtrue overtrue added this to the 4.0 milestone May 9, 2017
@overtrue overtrue closed this as completed Jun 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant