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