فهرست منبع

[documentation] fixed yaml mapping example for tree repository

gediminasm 14 سال پیش
والد
کامیت
8c48066132
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      doc/tree.md

+ 2 - 0
doc/tree.md

@@ -214,6 +214,7 @@ Yaml mapped Category: **/mapping/yaml/Entity.Category.dcm.yml**
     ---
     ---
     Entity\Category:
     Entity\Category:
       type: entity
       type: entity
+      repositoryClass: Gedmo\Tree\Entity\Repository\NestedTreeRepository
       table: categories
       table: categories
       gedmo:
       gedmo:
         tree:
         tree:
@@ -579,6 +580,7 @@ Yaml mapped Category: **/mapping/yaml/Entity.Category.dcm.yml**
     ---
     ---
     Entity\Category:
     Entity\Category:
       type: entity
       type: entity
+      repositoryClass: Gedmo\Tree\Entity\Repository\NestedTreeRepository
       table: categories
       table: categories
       gedmo:
       gedmo:
         tree:
         tree: