Step 2: Create your Comment and Thread classes

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

FOSCommentBundle缺省支持Doctrine ODM(mongodb)和Doctrine ORM。然而,您必须提供具体的评论类和线索类。按照相应的说明来设置类:

Continue to the next step!(继续下一步)

When you're done. Continue with importing the routing:

当您完成后,继续实现路由:

Step 3: Importing FOSCommentBundle routing.

第3步:实现FOSCommentBundle路由。