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

框架中,有没有类似helper类这种公共方法的地方 #11

Closed
zhyfor opened this issue Mar 20, 2018 · 2 comments
Closed

框架中,有没有类似helper类这种公共方法的地方 #11

zhyfor opened this issue Mar 20, 2018 · 2 comments

Comments

@zhyfor
Copy link

zhyfor commented Mar 20, 2018

有没有类似别的框架中helper类这种公共方法的地方

@onanying
Copy link
Member

只要按PSR-4的规则,你可以建立任何你想建立的目录与类。
公共的话,建议在 apps/common 模块中建立。

@zhyfor
Copy link
Author

zhyfor commented Mar 21, 2018

谢谢,最后在apps/common/libraries里创建了个helper

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