From ff6e3ffbf591297d4e58abe6f7c1e168fc43569d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Sun, 29 Nov 2020 08:33:23 +0100 Subject: [PATCH 1/1] Define slugger class before the class requiring it --- Resources/config/packages/rapsys_user.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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' ] -- 2.41.1