X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/packbundle/blobdiff_plain/83f10fd131e8d4fad68cc77480aa7c49512c505a..592b6f83c8021771cb948f8c99b5e2672fda10c0:/README.md 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