mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 03:23:48 +00:00
fix relation inside calendar, bootstrap messenger for handling create and update calendar entity
This commit is contained in:
@@ -11,7 +11,6 @@ services:
|
||||
Chill\CalendarBundle\Messenger\Doctrine\CalendarRangeEntityListener:
|
||||
autowire: true
|
||||
autoconfigure: true
|
||||
|
||||
tags:
|
||||
-
|
||||
name: 'doctrine.orm.entity_listener'
|
||||
@@ -25,3 +24,20 @@ services:
|
||||
name: 'doctrine.orm.entity_listener'
|
||||
event: 'postRemove'
|
||||
entity: 'Chill\CalendarBundle\Entity\CalendarRange'
|
||||
|
||||
Chill\CalendarBundle\Messenger\Doctrine\CalendarEntityListener:
|
||||
autowire: true
|
||||
autoconfigure: true
|
||||
tags:
|
||||
-
|
||||
name: 'doctrine.orm.entity_listener'
|
||||
event: 'postPersist'
|
||||
entity: 'Chill\CalendarBundle\Entity\Calendar'
|
||||
-
|
||||
name: 'doctrine.orm.entity_listener'
|
||||
event: 'postUpdate'
|
||||
entity: 'Chill\CalendarBundle\Entity\Calendar'
|
||||
-
|
||||
name: 'doctrine.orm.entity_listener'
|
||||
event: 'postRemove'
|
||||
entity: 'Chill\CalendarBundle\Entity\Calendar'
|
||||
|
Reference in New Issue
Block a user