From: Raphaƫl Gertz Date: Wed, 31 Jan 2024 22:16:16 +0000 (+0100) Subject: Declare facebook event subscriber X-Git-Tag: 0.3.0~137 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/7275c708976e5ffd84de02128b7459c83f76a6aa Declare facebook event subscriber --- diff --git a/Resources/config/packages/rapsys_air.yaml b/Resources/config/packages/rapsys_air.yaml index 2e31c99..5863f60 100644 --- a/Resources/config/packages/rapsys_air.yaml +++ b/Resources/config/packages/rapsys_air.yaml @@ -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: