]> Raphaƫl G. Git Repositories - packbundle/blobdiff - Resources/config/packages/rapsys_pack.yaml
Add SluggerUtil class alias
[packbundle] / Resources / config / packages / rapsys_pack.yaml
index 3f93ff4316f047e897e07f508dc9fe5eeea1f745..b9a1645cf0a323ac8bc34b15f124fa8a158c0084 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)%' ]
         public: true
+    #Register slugger util class alias
+    Rapsys\PackBundle\Util\SluggerUtil:
+        alias: 'rapsys_pack.slugger_util'