]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/config/packages/rapsys_air.yaml
Strict types
[airbundle] / 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: