]> Raphaël G. Git Repositories - userbundle/commitdiff
Add classname alias to avoid argument binding failure
authorRaphaël Gertz <git@rapsys.eu>
Mon, 7 Dec 2020 22:52:27 +0000 (23:52 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Mon, 7 Dec 2020 23:00:05 +0000 (00:00 +0100)
Resources/config/packages/rapsys_user.yaml

index 30b7a7b9205dc7a7f5b8bac9ff5095d6969b06d3..a50a3142625074a17ff907f541db89580b0afafa 100644 (file)
@@ -4,6 +4,9 @@ services:
     rapsys_user.slugger:
         class: 'Rapsys\UserBundle\Utils\Slugger'
         arguments: [ '@service_container' ]
+    #Register slugger utils alias
+    Rapsys\UserBundle\Utils\Slugger:
+        alias: 'rapsys_user.slugger'
     #Register default controller
     Rapsys\UserBundle\Controller\DefaultController:
         arguments: [ '@service_container', '@translator', '@router' ]