We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在路由定义,和路由的权限上,注解的形式,会大大改善代码的结构和表达/理解
The text was updated successfully, but these errors were encountered:
phpstorm可以安装个PHP Annotation。
swoole httpserver可以启动时解析php Annotation,生成annotions struct。以提高生产运行效率。
Sorry, something went wrong.
这个暂时不会考虑,因为PHP原生不支持 annotation(Java) 或者 decorator(Python),只能通过反射来实现,比较重。二是使用注解的方式来路由,不够直观,在大项目中不太好把控,msf的定位是精简的MVC,目前的normal route和restful route已经足够使用,所以在路由层面不会做特别多工作。
那你们路由的权限,360项目上,实现的路由可以分享一下吗?
No branches or pull requests
在路由定义,和路由的权限上,注解的形式,会大大改善代码的结构和表达/理解
The text was updated successfully, but these errors were encountered: