本文共 772 字,大约阅读时间需要 2 分钟。
原文出处:
原文作者:
授权许可:
翻译人员:FireHare
校对人员:
适用版本:FOSCommentBundle 2.0.5
文章状态:草译阶段
To install FOSCommentBundle run the following command
要安装FOSCommentBundle,可以运行以下命令:
$ php composer.phar require friendsofsymfony/comment-bundle
Enable the required bundles in the kernel:
在内核中启用所需功能包:
As of symfony 2.3, you just have to modify your config.yml :
截至Symfony 2.3,您只需要修改您的 config.yml 文件:
# app/config/config.ymlframework: http_method_override: true
When you're done. Continue by creating the appropriate Comment and Thread classes:
当您完成之后,接下来您就可以继续创建适当的评论类和线索类:
.
第2步:创建您的评论类和线索类。
转载地址:http://ofsxl.baihongyu.com/