Rapsys Git
/
airbundle
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db264be
)
Add preUpdate doctrine lifecycle callbacks
author
Raphaël Gertz
<git@rapsys.eu>
Sat, 28 Aug 2021 05:08:12 +0000
(07:08 +0200)
committer
Raphaël Gertz
<git@rapsys.eu>
Sat, 28 Aug 2021 05:08:12 +0000
(07:08 +0200)
Resources/config/doctrine/Slot.orm.yml
patch
|
blob
|
history
diff --git
a/Resources/config/doctrine/Slot.orm.yml
b/Resources/config/doctrine/Slot.orm.yml
index 4e70c7ab9a3516b255419a46ea7d5b5bb95c4063..19493b24a5569163d5f4c9f27ff66a0bbcca5f70 100644
(file)
--- 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']