]> Raphaƫl G. Git Repositories - packbundle/blobdiff - Resources/config/packages/rapsys_pack.yaml
Update doc
[packbundle] / Resources / config / packages / rapsys_pack.yaml
index 3f93ff4316f047e897e07f508dc9fe5eeea1f745..26e957be07b2908af1a9231895a6005b40d0e483 100644 (file)
@@ -18,8 +18,11 @@ services:
         class: 'Rapsys\PackBundle\Extension\PackExtension'
         arguments: [ '@file_locator', '@service_container', '@rapsys_pack.path_package', '@rapsys_pack.slugger_util' ]
         tags: [ 'twig.extension' ]
-    #Register slugger utils service
+    #Register slugger util service
     rapsys_pack.slugger_util:
         class: 'Rapsys\PackBundle\Util\SluggerUtil'
-        arguments: [ '%env(APP_SECRET)%' ]
+        arguments: [ '%kernel.secret%' ]
         public: true
+    #Register slugger util class alias
+    Rapsys\PackBundle\Util\SluggerUtil:
+        alias: 'rapsys_pack.slugger_util'