]> Raphaƫl G. Git Repositories - userbundle/blobdiff - Resources/config/doctrine/User.orm.yml
Add option to enable each field individualy
[userbundle] / Resources / config / doctrine / User.orm.yml
index a621be7abfd3b370de970a4a91e60324d3dc96f9..29755a580c9de3bc34def121df0f85eeb99f83c1 100644 (file)
@@ -43,3 +43,5 @@ Rapsys\UserBundle\Entity\User:
 #see if usefull: https://stackoverflow.com/questions/34523699/how-to-extend-doctrine-entity-in-another-bundle
 #            joinTable:
 #                name: groups_users
+    lifecycleCallbacks:
+        preUpdate: ['preUpdate']