]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/config/doctrine/Slot.orm.yml
New site.icon layout
[airbundle] / Resources / config / doctrine / Slot.orm.yml
index 4e70c7ab9a3516b255419a46ea7d5b5bb95c4063..d09120d8bcb001419d36eef9704c61099cfbdd67 100644 (file)
@@ -1,6 +1,6 @@
 Rapsys\AirBundle\Entity\Slot:
     type: entity
-    repositoryClass: Rapsys\AirBundle\Repository\SlotRepository
+    #repositoryClass: Rapsys\AirBundle\Repository\SlotRepository
     table: slots
     id:
         id:
@@ -21,3 +21,5 @@ Rapsys\AirBundle\Entity\Slot:
         sessions:
             targetEntity: Rapsys\AirBundle\Entity\Session
             mappedBy: slot
+    lifecycleCallbacks:
+        preUpdate: ['preUpdate']