From: Raphaƫl Gertz Date: Sun, 29 Nov 2020 07:33:23 +0000 (+0100) Subject: Define slugger class before the class requiring it X-Git-Tag: 0.1.3~3 X-Git-Url: https://git.rapsys.eu/userbundle/commitdiff_plain/ff6e3ffbf591297d4e58abe6f7c1e168fc43569d Define slugger class before the class requiring it --- diff --git a/Resources/config/packages/rapsys_user.yaml b/Resources/config/packages/rapsys_user.yaml index a895408..c4dc64d 100644 --- a/Resources/config/packages/rapsys_user.yaml +++ b/Resources/config/packages/rapsys_user.yaml @@ -1,11 +1,11 @@ #Service configuration services: + #Register slugger utils service + rapsys.slugger: + class: 'Rapsys\UserBundle\Utils\Slugger' + arguments: [ '@service_container' ] #Register default controller Rapsys\UserBundle\Controller\DefaultController: arguments: [ '@service_container', '@translator', '@router' ] autowire: true tags: [ 'controller.service_arguments' ] - #Register slugger utils service - rapsys.slugger: - class: 'Rapsys\UserBundle\Utils\Slugger' - arguments: [ '@service_container' ]