]> Raphaël G. Git Repositories - airbundle/commitdiff
Add preUpdate doctrine lifecycle callbacks
authorRaphaël Gertz <git@rapsys.eu>
Sat, 28 Aug 2021 05:08:12 +0000 (07:08 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Sat, 28 Aug 2021 05:08:12 +0000 (07:08 +0200)
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
         sessions:
             targetEntity: Rapsys\AirBundle\Entity\Session
             mappedBy: slot
+    lifecycleCallbacks:
+        preUpdate: ['preUpdate']