eventListener created and tested for firstname, lastname and altnames

This commit is contained in:
Julie Lenaerts
2021-10-06 12:16:45 +02:00
parent 7d8f380050
commit 0c4ea81550
7 changed files with 135 additions and 44 deletions

View File

@@ -0,0 +1,12 @@
services:
Chill\PersonBundle\EventListener\PersonEventListener:
autoconfigure: true
tags:
-
name: 'doctrine.orm.entity_listener'
event: 'prePersist'
entity: 'Chill\PersonBundle\Entity\Person'
-
name: 'doctrine.orm.entity_listener'
event: 'prePersist'
entity: 'Chill\PersonBundle\Entity\PersonAltName'