mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 22:35:01 +00:00
Eventlistener to create accompanyingPeriodWork
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
services:
|
||||
Chill\ActivityBundle\EntityListener\ActivityEntityListener:
|
||||
autowire: true
|
||||
autoconfigure: true
|
||||
tags:
|
||||
-
|
||||
name: 'doctrine.orm.entity_listener'
|
||||
event: 'postPersist'
|
||||
entity: 'Chill\ActivityBundle\Entity\Activity'
|
||||
method: 'persistActionToCourse'
|
||||
-
|
||||
name: 'doctrine.orm.entity_listener'
|
||||
event: 'postUpdate'
|
||||
entity: 'Chill\ActivityBundle\Entity\Activity'
|
||||
method: 'persistActionToCourse'
|
Reference in New Issue
Block a user