]> Raphaƫl G. Git Repositories - packbundle/blobdiff - README.md
Fix symfony 5.3 deprecation
[packbundle] / README.md
index b50ca2d9f696fd9f388502329bbbcc313277bd47..3998c89a9180a7667e3146ee3f6a84b2844a429a 100644 (file)
--- a/README.md
+++ b/README.md
@@ -114,11 +114,14 @@ services:
         class: 'Rapsys\PackBundle\Extension\PackExtension'
         arguments: [ '@file_locator', '@service_container', '@rapsys_pack.path_package', '@rapsys_pack.slugger_util' ]
         tags: [ 'twig.extension' ]
         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'
     rapsys_pack.slugger_util:
         class: 'Rapsys\PackBundle\Util\SluggerUtil'
-        arguments: [ '%env(APP_SECRET)%' ]
+        arguments: [ '%kernel.secret%' ]
         public: true
         public: true
+    #Register slugger util class alias
+    Rapsys\PackBundle\Util\SluggerUtil:
+        alias: 'rapsys_pack.slugger_util'
 ```
 
 Open a command console, enter your project directory and execute the following
 ```
 
 Open a command console, enter your project directory and execute the following