]> Raphaƫl G. Git Repositories - packbundle/blobdiff - Resources/config/packages/rapsys_pack.yaml
Rename pack_package into path_package
[packbundle] / Resources / config / packages / rapsys_pack.yaml
index d0dc6a295f61ea2a85aee023a5ab0b1e21f5324b..0fe0346939baeca1bd9b96677f027ad761642a42 100644 (file)
@@ -1,11 +1,11 @@
 #Services configuration
 services:
     #Register assets pack package
-    assets.pack_package:
-        class: Rapsys\PackBundle\Asset\PackPackage
+    rapsys.path_package:
+        class: 'Rapsys\PackBundle\Asset\PathPackage'
         arguments: [ '/', '@assets.empty_version_strategy', '@assets.context' ]
     #Register twig pack extension
-    rapsys_pack.twig.pack_extension:
-        class: Rapsys\PackBundle\Twig\PackExtension
-        arguments: [ '@file_locator', '@service_container', '@assets.pack_package' ]
-        tags: [ twig.extension ]
+    rapsys.pack_extension:
+        class: 'Rapsys\PackBundle\Twig\PackExtension'
+        arguments: [ '@file_locator', '@service_container', '@rapsys.path_package' ]
+        tags: [ 'twig.extension' ]