X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/packbundle/blobdiff_plain/83f10fd131e8d4fad68cc77480aa7c49512c505a..0c82f98b51a05d3f19d7e53a790aaa75c1630af1:/README.md?ds=inline diff --git a/README.md b/README.md index b50ca2d..3998c89 100644 --- a/README.md +++ b/README.md @@ -114,11 +114,14 @@ 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)%' ] + arguments: [ '%kernel.secret%' ] public: true + #Register slugger util class alias + Rapsys\PackBundle\Util\SluggerUtil: + alias: 'rapsys_pack.slugger_util' ``` Open a command console, enter your project directory and execute the following