From: Raphaƫl Gertz Date: Sat, 28 Aug 2021 05:08:12 +0000 (+0200) Subject: Add preUpdate doctrine lifecycle callbacks X-Git-Tag: 0.2.0~47 X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/commitdiff_plain/8510be1ab5c41f41c1ef85ca801f62c19f017a10?hp=db264be9197438b39867f2bd8872c6a11b4f52c1 Add preUpdate doctrine lifecycle callbacks --- 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']