原文出處:12-enable_voting.md
原文作者:FriendsOfSymfony
授權許可:創作共用協議
翻譯人員:FireHare
校對人員:
適用版本:FOSCommentBundle 2.0.5
文章狀態:草譯階段
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類。根據相應的指示設置類: