]> Raphaƫl G. Git Repositories - userbundle/blobdiff - Resources/config/doctrine/Civility.orm.yml
Use bundle name as translation domain
[userbundle] / Resources / config / doctrine / Civility.orm.yml
index a175fa8b04daadc7612ae26428c663f1e888a4e5..cce2efe8adc44c6d137010de2b380dbb87530e05 100644 (file)
@@ -1,5 +1,6 @@
 Rapsys\UserBundle\Entity\Civility:
     type: mappedSuperclass
+#   table: civilities
     id:
         id:
             type: integer
@@ -19,3 +20,5 @@ Rapsys\UserBundle\Entity\Civility:
 #        users:
 #            targetEntity: User
 #            mappedBy: title
+    lifecycleCallbacks:
+        preUpdate: ['preUpdate']