From: Raphaƫl Gertz Date: Sun, 29 Nov 2020 07:48:32 +0000 (+0100) Subject: Prefix with bundle name path_package and twig pack_extension aliases to avoid conflict X-Git-Tag: 0.1.5 X-Git-Url: https://git.rapsys.eu/packbundle/commitdiff_plain/d76e4fc95451b2dda236c4098caebae10a67e38a?hp=386a447467d7a5d368946fcd97592735bb85683f Prefix with bundle name path_package and twig pack_extension aliases to avoid conflict --- diff --git a/Resources/config/packages/rapsys_pack.yaml b/Resources/config/packages/rapsys_pack.yaml index 0fe0346..ce892d6 100644 --- a/Resources/config/packages/rapsys_pack.yaml +++ b/Resources/config/packages/rapsys_pack.yaml @@ -1,11 +1,11 @@ #Services configuration services: #Register assets pack package - rapsys.path_package: + rapsys_pack.path_package: class: 'Rapsys\PackBundle\Asset\PathPackage' arguments: [ '/', '@assets.empty_version_strategy', '@assets.context' ] #Register twig pack extension - rapsys.pack_extension: + rapsys_pack.pack_extension: class: 'Rapsys\PackBundle\Twig\PackExtension' - arguments: [ '@file_locator', '@service_container', '@rapsys.path_package' ] + arguments: [ '@file_locator', '@service_container', '@rapsys_pack.path_package' ] tags: [ 'twig.extension' ]