]> Raphaël G. Git Repositories - blogbundle/commitdiff
Add civility doctrine orm config
authorRaphaël Gertz <git@rapsys.eu>
Fri, 10 Nov 2023 12:30:31 +0000 (13:30 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Fri, 10 Nov 2023 12:30:31 +0000 (13:30 +0100)
Resources/config/doctrine/Civility.orm.yml [new file with mode: 0644]

diff --git a/Resources/config/doctrine/Civility.orm.yml b/Resources/config/doctrine/Civility.orm.yml
new file mode 100644 (file)
index 0000000..e0957e8
--- /dev/null
@@ -0,0 +1,8 @@
+Rapsys\BlogBundle\Entity\Civility:
+    type: entity
+    #repositoryClass: Rapsys\BlogBundle\Repository\CivilityRepository
+    table: civilities
+    oneToMany:
+        users:
+            targetEntity: User
+            mappedBy: civility