]> Raphaƫl G. Git Repositories - packbundle/blobdiff - Resources/config/services.yml
Set bundle alias
[packbundle] / Resources / config / services.yml
index 324718243d344b4b8b5335ce5b5e718d7b1bb262..47ea68fed666c7eb99761aeb3bff44c1d1e0f94c 100644 (file)
@@ -1,15 +1,5 @@
 services:
     rapsys_pack.twig.pack_extension:
 services:
     rapsys_pack.twig.pack_extension:
-         class: Rapsys\PackBundle\Twig\PackExtension
-         arguments: [ '@file_locator', '@service_container' ]
-         tags:
-             - { name: twig.extension }
-#    rapsys_pack.cpack:
-#         class: Rapsys\PackBundle\Cpack
-#         arguments: [ '/usr/local/bin/cpack' ]
-#    rapsys_pack.jpack:
-#         class: Rapsys\PackBundle\Jpack
-#         arguments: [ '/usr/local/bin/jpack' ]
-#
-#        class: Rapsys\PackBundle\Example
-#        arguments: ["@service_id", "plain_value", "%parameter%"]
+        class: Rapsys\PackBundle\Twig\PackExtension
+        arguments: [ '@file_locator', '@service_container', '@assets.packages' ]
+        tags: [ twig.extension ]