configure SocialIssue consistency on Activity and AccompanyingPeriod

This commit is contained in:
2021-08-22 00:01:24 +02:00
parent 09e5cc1545
commit 075f22e79c
9 changed files with 54 additions and 11 deletions

View File

@@ -0,0 +1,15 @@
services:
Chill\PersonBundle\AccompanyingPeriod\SocialIssueConsistency\AccompanyingPeriodSocialIssueConsistencyEntityListener:
tags:
-
name: 'doctrine.orm.entity_listener'
event: 'prePersist'
entity: 'Chill\PersonBundle\Entity\AccompanyingPeriod'
lazy: true
method: prePersistAccompanyingPeriod
-
name: 'doctrine.orm.entity_listener'
event: 'preUpdate'
entity: 'Chill\PersonBundle\Entity\AccompanyingPeriod'
lazy: true
method: preUpdateAccompanyingPeriod