init PrivacyEvent logger service

This commit is contained in:
Mat
2018-10-16 09:56:36 +02:00
parent b5a9105a0f
commit f5baeaa06c
6 changed files with 241 additions and 3 deletions

View File

@@ -3,4 +3,5 @@ services:
arguments:
$similarPersonMatcher: '@Chill\PersonBundle\Search\SimilarPersonMatcher'
$translator: '@Symfony\Component\Translation\TranslatorInterface'
$eventDispatcher: '@Symfony\Component\EventDispatcher\EventDispatcherInterface'
tags: ['controller.service_arguments']

View File

@@ -0,0 +1,7 @@
services:
Chill\PersonBundle\Privacy\PrivacyEventSubscriber:
arguments:
$logger: '@chill.main.logger'
$token: '@Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface'
tags:
- { name: kernel.event_subscriber }