FOSCommentBundle功能包:启用投票

Step 12: Enable voting

Setup Classes(设置类)

The FOSCommentBundle supports both Doctrine ODM (mongodb) and Doctrine ORM bydefault. However, you must provide a concrete Vote class. Follow the appropriate instructions to set up the classes:

FOSCommentBundle缺省支持Doctrine ODM (mongodb) 和 Doctrine ORM 。然而,您必须提供一个具体的Vote类。根据相应的指示设置类:

Integration with fosuserbundle(与FOSUserBundle功能包集成)

That is it!

Return to the index.

返回到指南索引页


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章