]> Raphaƫl G. Git Repositories - treebundle/blobdiff - config/doctrine/Group.orm.yml
Import entities
[treebundle] / config / doctrine / Group.orm.yml
diff --git a/config/doctrine/Group.orm.yml b/config/doctrine/Group.orm.yml
new file mode 100644 (file)
index 0000000..a2ca805
--- /dev/null
@@ -0,0 +1,8 @@
+Rapsys\TreeBundle\Entity\Group:
+    type: entity
+    #repositoryClass: Rapsys\TreeBundle\Repository\GroupRepository
+    table: groups
+    manyToMany:
+        users:
+            targetEntity: Rapsys\TreeBundle\Entity\User
+            mappedBy: groups