]> Raphaël G. Git Repositories - packbundle/commitdiff
Prefix with bundle name path_package and twig pack_extension aliases to avoid conflict 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 0fe0346939baeca1bd9b96677f027ad761642a42..ce892d6eb6e1c9f24df9249330c29bf1c600b5a4 100644 (file)
@@ -1,11 +1,11 @@
 #Services configuration
 services:
     #Register assets pack package
 #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
         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'
         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' ]
         tags: [ 'twig.extension' ]