]> Raphaël G. Git Repositories - airbundle/commitdiff
Declare facebook event subscriber
authorRaphaël Gertz <git@rapsys.eu>
Wed, 31 Jan 2024 22:16:16 +0000 (23:16 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Wed, 31 Jan 2024 22:16:16 +0000 (23:16 +0100)
Resources/config/packages/rapsys_air.yaml

index 2e31c99f9277de0a08a836cc87c3ded942b5159c..5863f60ba6d73d9fac521eb72242223fe0ad238c 100644 (file)
@@ -357,6 +357,10 @@ services:
         class: 'Symfony\Component\PasswordHasher\Hasher\PasswordHasherFactory'
         arguments: [ { 'Rapsys\AirBundle\Entity\User': { class: 'Symfony\Component\PasswordHasher\Hasher\NativePasswordHasher', arguments: [ ~, ~, ~, '2y'] } } ]
         public: true
+    #Register facebook event subscriber
+    Rapsys\PackBundle\Subscriber\FacebookSubscriber:
+        arguments: [ '@router', '%rapsys_air.locales%' ]
+        tags: [ 'kernel.event_subscriber' ]
 
 #Twig Configuration
 twig: