]> Raphaël G. Git Repositories - packbundle/commitdiff
Rename service assets.pack_package in rapsys.pack_package
authorRaphaël Gertz <git@rapsys.eu>
Wed, 11 Dec 2019 03:17:37 +0000 (04:17 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Wed, 11 Dec 2019 03:17:37 +0000 (04:17 +0100)
Rename service rapsys_pack.twig.pack_extension in rapsys.pack_extension
Cleanup

Resources/config/packages/rapsys_pack.yaml

index 78fe5b07a1296187fc87bdc9f4257ada3cd39c14..cdae053fa54964e31d12b28090b65b8e164e5cbe 100644 (file)
@@ -1,13 +1,11 @@
 #Services configuration
 services:
     #Register assets pack package
-    assets.pack_package:
+    rapsys.pack_package:
         class: 'Rapsys\PackBundle\Asset\PackPackage'
         arguments: [ '/', '@assets.empty_version_strategy', '@assets.context' ]
-#       arguments: [ '/', '@assets.static_version_strategy', '@assets.context' ]
-#       arguments: [ '/bundles/%%s', '@assets.empty_version_strategy', '@assets.context' ]
     #Register twig pack extension
-    rapsys_pack.twig.pack_extension:
+    rapsys.pack_extension:
         class: 'Rapsys\PackBundle\Twig\PackExtension'
-        arguments: [ '@file_locator', '@service_container', '@assets.pack_package' ]
+        arguments: [ '@file_locator', '@service_container', '@rapsys.pack_package' ]
         tags: [ 'twig.extension' ]