From c750f6fbffae3ddf5746a7e476e27d658b1a3bd0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Mon, 7 Dec 2020 23:52:27 +0100 Subject: [PATCH] Add classname alias to avoid argument binding failure --- Resources/config/packages/rapsys_user.yaml | 3 +++ 1 file changed, 3 insertions(+) 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' ] -- 2.41.1