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

[QUESTION] easySwoole 使用hyperf 国际化 #1485

Closed
easylolicon opened this issue Mar 31, 2020 · 3 comments
Closed

[QUESTION] easySwoole 使用hyperf 国际化 #1485

easylolicon opened this issue Mar 31, 2020 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@easylolicon
Copy link

easySwoole 使用国际化组件,说是 作为一个独立组件,无框架相关依赖
Return value of Hyperf\Utils\ApplicationContext::getContainer() must be an instance of Psr\Container\ContainerInterface, null returned at file:/www/app_server/vendor/hyperf/utils/src/ApplicationContext.php line:26
(https://doc.hyperf.io/#/zh-cn/translation)

@easylolicon easylolicon added the question Further information is requested label Mar 31, 2020
@limingxinleo limingxinleo self-assigned this Mar 31, 2020
@limingxinleo
Copy link
Member

我周末看看

@Reasno
Copy link
Member

Reasno commented Mar 31, 2020

设计上没有依赖的 现在的问题是缺少脱离框架的测试,所以一不留神可能有一两个地方产生了依赖。

@limingxinleo
Copy link
Member

https://github.com/hyperf-cloud/pimple-integration

看一下这个组件,我这边测试已经可以了

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

No branches or pull requests

3 participants