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