From: Raphaƫl Gertz Date: Fri, 10 Nov 2023 12:30:31 +0000 (+0100) Subject: Add civility doctrine orm config X-Git-Tag: 0.1~6 X-Git-Url: https://git.rapsys.eu/blogbundle/commitdiff_plain/7cd16313084aa493aa49e05bac3c1faa4d95d1df?ds=inline Add civility doctrine orm config --- diff --git a/Resources/config/doctrine/Civility.orm.yml b/Resources/config/doctrine/Civility.orm.yml new file mode 100644 index 0000000..e0957e8 --- /dev/null +++ b/Resources/config/doctrine/Civility.orm.yml @@ -0,0 +1,8 @@ +Rapsys\BlogBundle\Entity\Civility: + type: entity + #repositoryClass: Rapsys\BlogBundle\Repository\CivilityRepository + table: civilities + oneToMany: + users: + targetEntity: User + mappedBy: civility