]> Raphaƫl G. Git Repositories - userbundle/blobdiff - Resources/config/doctrine/Civility.orm.yml
Add index function
[userbundle] / Resources / config / doctrine / Civility.orm.yml
index a175fa8b04daadc7612ae26428c663f1e888a4e5..6ed794449332692be0da03e59e4afc1982ac6405 100644 (file)
@@ -19,3 +19,5 @@ Rapsys\UserBundle\Entity\Civility:
 #        users:
 #            targetEntity: User
 #            mappedBy: title
 #        users:
 #            targetEntity: User
 #            mappedBy: title
+    lifecycleCallbacks:
+        preUpdate: ['preUpdate']