]> Raphaƫl G. Git Repositories - packbundle/blobdiff - Resources/config/packages/rapsys_pack.yaml
Prefix with bundle name path_package and twig pack_extension aliases to avoid conflict
[packbundle] / Resources / config / packages / rapsys_pack.yaml
index 0fe0346939baeca1bd9b96677f027ad761642a42..ce892d6eb6e1c9f24df9249330c29bf1c600b5a4 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' ]