From 8510be1ab5c41f41c1ef85ca801f62c19f017a10 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Sat, 28 Aug 2021 07:08:12 +0200 Subject: [PATCH] Add preUpdate doctrine lifecycle callbacks --- Resources/config/doctrine/Slot.orm.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Resources/config/doctrine/Slot.orm.yml b/Resources/config/doctrine/Slot.orm.yml index 4e70c7a..19493b2 100644 --- a/Resources/config/doctrine/Slot.orm.yml +++ b/Resources/config/doctrine/Slot.orm.yml @@ -21,3 +21,5 @@ Rapsys\AirBundle\Entity\Slot: sessions: targetEntity: Rapsys\AirBundle\Entity\Session mappedBy: slot + lifecycleCallbacks: + preUpdate: ['preUpdate'] -- 2.41.1