From: Raphaƫl Gertz Date: Mon, 7 Dec 2020 22:52:27 +0000 (+0100) Subject: Add classname alias to avoid argument binding failure X-Git-Tag: 0.1.4~3 X-Git-Url: https://git.rapsys.eu/userbundle/commitdiff_plain/c750f6fbffae3ddf5746a7e476e27d658b1a3bd0?ds=inline;hp=737374b8cf79d853c2701b72b0a0a56f2ab3de35 Add classname alias to avoid argument binding failure --- diff --git a/Resources/config/packages/rapsys_user.yaml b/Resources/config/packages/rapsys_user.yaml index 30b7a7b..a50a314 100644 --- a/Resources/config/packages/rapsys_user.yaml +++ b/Resources/config/packages/rapsys_user.yaml @@ -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' ]