Prefix with bundle name path_package and twig pack_extension aliases to avoid conflict master 0.1.5
authorRaphaël Gertz <git@rapsys.eu>
Sun, 29 Nov 2020 07:48:32 +0000 (08:48 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Sun, 29 Nov 2020 07:48:32 +0000 (08:48 +0100)
Resources/config/packages/rapsys_pack.yaml

index 0fe0346..ce892d6 100644 (file)
@@ -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' ]