X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/1e87933810b0e0b69baab4a893e462566340a1f8..c99350a6b27d74c60076ed5661cfde2b3724cea6:/Resources/config/doctrine/Slot.orm.yml?ds=inline

diff --git a/Resources/config/doctrine/Slot.orm.yml b/Resources/config/doctrine/Slot.orm.yml
index 4e70c7a..d09120d 100644
--- a/Resources/config/doctrine/Slot.orm.yml
+++ b/Resources/config/doctrine/Slot.orm.yml
@@ -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']