Procházet zdrojové kódy

[documentation] fixed yaml mapping example for tree repository

gediminasm před 14 roky
rodič
revize
8c48066132
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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:
       type: entity
+      repositoryClass: Gedmo\Tree\Entity\Repository\NestedTreeRepository
       table: categories
       gedmo:
         tree:
@@ -579,6 +580,7 @@ Yaml mapped Category: **/mapping/yaml/Entity.Category.dcm.yml**
     ---
     Entity\Category:
       type: entity
+      repositoryClass: Gedmo\Tree\Entity\Repository\NestedTreeRepository
       table: categories
       gedmo:
         tree: