From 617c8ffd029b19af880da209ec7d3f0ddb20d28d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Sun, 8 Aug 2021 15:42:34 +0200 Subject: [PATCH] Add SluggerUtil class alias --- Resources/config/packages/rapsys_pack.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Resources/config/packages/rapsys_pack.yaml b/Resources/config/packages/rapsys_pack.yaml index 3f93ff4..b9a1645 100644 --- a/Resources/config/packages/rapsys_pack.yaml +++ b/Resources/config/packages/rapsys_pack.yaml @@ -18,8 +18,11 @@ services: class: 'Rapsys\PackBundle\Extension\PackExtension' arguments: [ '@file_locator', '@service_container', '@rapsys_pack.path_package', '@rapsys_pack.slugger_util' ] tags: [ 'twig.extension' ] - #Register slugger utils service + #Register slugger util service rapsys_pack.slugger_util: class: 'Rapsys\PackBundle\Util\SluggerUtil' arguments: [ '%env(APP_SECRET)%' ] public: true + #Register slugger util class alias + Rapsys\PackBundle\Util\SluggerUtil: + alias: 'rapsys_pack.slugger_util' -- 2.41.1