]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/config/doctrine/Slot.orm.yml
Add preUpdate doctrine lifecycle callbacks
[airbundle] / Resources / config / doctrine / Slot.orm.yml
index 4e70c7ab9a3516b255419a46ea7d5b5bb95c4063..19493b24a5569163d5f4c9f27ff66a0bbcca5f70 100644 (file)
@@ -21,3 +21,5 @@ Rapsys\AirBundle\Entity\Slot:
         sessions:
             targetEntity: Rapsys\AirBundle\Entity\Session
             mappedBy: slot
+    lifecycleCallbacks:
+        preUpdate: ['preUpdate']