From: Raphaƫl Gertz Date: Sun, 8 Aug 2021 13:42:34 +0000 (+0200) Subject: Add SluggerUtil class alias X-Git-Tag: 0.2.0~26 X-Git-Url: https://git.rapsys.eu/packbundle/commitdiff_plain/617c8ffd029b19af880da209ec7d3f0ddb20d28d Add SluggerUtil class alias --- 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'